Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question: LOCATEing records
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Newbie question: LOCATEing records
Miscellaneous
Thread ID:
00263556
Message ID:
00263556
Views:
58
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
Map
View

Click here to load this message in the networking platform