Page 1 of 1

Issue with editing objects and QuoteNames

Posted: Thu 07 Feb 2008 16:03
by MarkF
Hi Folks!

It appears that if Query.Options.QuoteNames is true that editing fails. You can test this by just changing the odac object demo to have QuoteNames set to true or use the following example:

Code: Select all

    OQuery.Session := OSession;

    OQuery.Options.QuoteNames := True;
    OQuery.SQL.Text := 'select rowid, oe.* from odac_emp oe';
    OQuery.Open();

    OQuery.Append;
    OQuery.FieldByName('PERSON.NAME').AsWideString := 'Ford, Mark';
    OQuery.Post;
The error returned is:
Not found field corresponding parameter "PERSON"

Thanks for any help!

-Mark Ford

Posted: Fri 08 Feb 2008 12:56
by Plash
We have fixed this problem. The fix will be included in the next build of ODAC.