Probleme with IbcQuery.locate

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Probleme with IbcQuery.locate

Post by calou » Tue 10 Feb 2009 11:20

Hello,

When i call the fonction locate like this
ibcqry.Locate(ibcqry.FieldByName('CODE_STATUS'),tab_status[ind].code_status,[loCaseInsensitive]);

i have an error E2036

Thank you for help

Regards

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 11 Feb 2009 11:41

We could not reproduce the problem. Please send to ibdac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Post by calou » Wed 11 Feb 2009 14:11

Hello,

I found the problem.
the locate function should be called like this :
ibcqry.Locate('CODE_STATUS',tab_status[ind].code_status,[loCaseInsensitive]);

Post Reply