Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HOW CAN I USE browse for command in Forms?
Message
De
28/08/2001 06:29:52
 
 
À
28/08/2001 05:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00549716
Message ID:
00549725
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform