Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box dilemma
Message
From
18/11/1997 16:50:18
 
 
To
18/11/1997 16:41:14
Jeff Carolus
Economic Opportunity Corp.
Saint Joseph, Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00061031
Message ID:
00061034
Views:
34
>I have a form that allows users to select people by name, and I also have a search button to look up by SSN. When the record pointer in the table is moved by the search, how can I update the list to point to the new record. I have tried this.list.requery and this.list.refresh but these don't seem to work?

Following is simplified example, for the case when physical record sequence the same as index order (btw, you can provide it collecting records into cursor):
Select table1
Set Order to Name && it's physical sequence
Seek cName
IF found()
Thisform.List1.Selected(recno())=.t.
Endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform