Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOING TO A SPECIFIC RECORD
Message
 
À
31/10/1996 13:11:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00011215
Message ID:
00011254
Vues:
37
>When I open a form I want it to go to a specific record number that user specifies just before the form is opened. Any Ideas on how to do this I think that I have tried everything. Putting go to recno in the init event of the data environment of any other init event dosen't work. I can issue a browse after the goto command and the browse goes to the correct recno..Thanks fot the Help today, and All have a Happy Halloween!!!!!!!!

This is a little different from the suggestions from Steve and Arnon -- it might (or might not) be appropriate for what you are trying to do.

You might try putting the GO statement in the form's Load() method. Load() fires before the form's Init(), and this will allow you to go to the specific record you want before anything else happens. My guess is that your current approach is failing because the Init() methods for the objects on the form (text boxes, etc.) are firing before your record is selected.

Hope this helps.

Bill
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform