General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only