Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Newbie question: LOCATEing records
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement