Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HOW CAN I USE browse for command in Forms?
Message
From
28/08/2001 06:29:52
 
 
To
28/08/2001 05:51:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00549716
Message ID:
00549725
Views:
17
You could try using a filter ont the table you are searching e.g.

* work out how long the search string is
nSearchStringLength = len(thisform.txtSearchString)
* select the searched table and set a filter on the field you want
SELECT mytable
set filter to left(MyTable.SearchedField,nSearchStringLength)==thisform.txtSearchString
Browse for fields ....

If you want to use the find dialog, on your browse, you will need to have the menu item available on the edit menu. Additionally you could use an on key label to move the record pointer to the nearest letter match but these two approaches seem to be mutually exclusive of each other as you have no way of switching off the on key label if someone trys to use the find from the menu.

Penda
Previous
Reply
Map
View

Click here to load this message in the networking platform