Re: DbGrid/EditBox Search

Posted by webmaster Guido on January 21, 2010

In Reply to Re: DbGrid/EditBox Search posted by Farhan Karimshah on January 20, 2010

: It won't let me index the field, it says "No index for: CODE" but when I use the locate method it says "Ordinal Type Required. Thank You.
-----------------------

1. Probably you didn't create an index on the field CODE for your table. How you do this, depends on the kind of database table. What kind of table is it: Paradox, dBase (DBF), other...?

2. It's strange that Locate gives this type of error. Can you please let us know the exact code that you tried, copy and paste it into a message?

Follow Ups