TOraQuery issue in ODAC 9.2.5
Posted: Mon 17 Feb 2014 21:18
Running this simple query in a TOraQuery is causing issues:
select nameid, usertype, groupid, userstatus,
facility, chgfacility, allcusts, publicaccts
from userheader
where nameid = :in_user
This is always returning no records. This query works fine when I revert back to ODAC 9.1.4.
Connecting to the userheader table with a TOraTable component and setting FilterSQL to Format('nameid = ''%s''', [edtUser.Text]); works fine in ODAC 9.2.5. It returns the same record the query does with 9.1.4.
What has changed in the TOraQuery from 9.1.4 to 9.2.5 to prevent the above query from working properly?
select nameid, usertype, groupid, userstatus,
facility, chgfacility, allcusts, publicaccts
from userheader
where nameid = :in_user
This is always returning no records. This query works fine when I revert back to ODAC 9.1.4.
Connecting to the userheader table with a TOraTable component and setting FilterSQL to Format('nameid = ''%s''', [edtUser.Text]); works fine in ODAC 9.2.5. It returns the same record the query does with 9.1.4.
What has changed in the TOraQuery from 9.1.4 to 9.2.5 to prevent the above query from working properly?