Link to home
Start Free TrialLog in
Avatar of CodedK
CodedKFlag for Greece

asked on

About Locate method - Very Easy

Whats wrong with the following command?

Form2.DataSource1.DataSet.Locate('Name',Form5.Edit1.Text,[loCaseInsensitive, loPartialKey]);

???

I get errors when compiling the project. Should i put something in the 'uses' unit ?
I get undeclared identifier for 'partial key' and 'case insesitive' and another error for compining 'integer' with 'locate option'.
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of scrapdog
scrapdog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CodedK

ASKER

Thank you very much. This works.
I added db a few seconds after i asked the question. :)

Can you tell me please how to stop-remove a question. For the future....(not to ask silly questions)..
Thank you scrapdog.
Avatar of CodedK

ASKER

Of cource i will accept your answer but i am afraid that this will close the comment status ... (You want be able to answer) i think...
I'm not sure how the new E-E works...so your guess is as good as mine...