Skip to Content
0
Former Member
May 26, 2005 at 07:04 PM

Implementing find mode in a form

41 Views

How is find mode implemented in a form?

It's easy enough to have the form mode set to et_FIND_MODE, allow input, and catch the event for when the find button is pressed. Then what do you do?

DBDataSource.Query(condition) doesn't seem usable since there's no way I see to implement a "like" condition for when the user enters something like "abc*" in one of the search fields.

Does this type of functionality require using a recordset and DoQuery and building your DBDataSource collection from the recordset by going through each result in the recordset? That's the only way I can see to do it from what I know at this point.

Any assistance is much appreciated!

Bill Faulk