Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question: LOCATEing records
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Newbie question: LOCATEing records
Divers
Thread ID:
00263556
Message ID:
00263556
Vues:
57
Using VFP 5.0 I've got a form populated with various fields from a table. In a text box at the bottom of the form users can enter a part number (or partial part number) that needs to be located int he table. The table is indexed on the field being searched. Here is my code:

If Thisform.opgSearchType.optPartNumb.Value = 1 Then
LOCATE for Thisform.txtFind.Value $ fullpric.catno
Thisform.Refresh()
Endif

1) Why does my LOCATE command not find the the catno being searched for?
2) Will Thisform.Refresh() refresh my form to move the record pointer to recno()?

Sorry for the simplicity of this question, but I only use VFP a couple of times a year.

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform