Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List box dilemma
Message
De
18/11/1997 16:50:18
 
 
À
18/11/1997 16:41:14
Jeff Carolus
Economic Opportunity Corp.
Saint Joseph, Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00061031
Message ID:
00061034
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform