Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a record from one form to another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Passing a record from one form to another
Divers
Thread ID:
00037608
Message ID:
00037608
Vues:
69
I have a form with a big grid. When you click on the grid, the text1.click has a DO FORM form2 WITH keyvalue. The form2.Init has a LOCATE FOR keyfield = keyvalue. That way, you can select a record off a grid and then see a form with its complete information. The problem is that when form2 loads, it selects the record with keyvalue, and then loses it, returning to the top of the table. But, and this is the aggravating part: if I am stepping through with the debugger, it doesn't happen. Anything that stops the flow of the program as the form is loading and displaying removes the error. Using a .3 second throttle, I still get the error. It seems to go to the top after most, or all, the inits, when the form is being displayed. I use the .navrefresh method from the txtbtns class of wizstyle.vcx. The error seems to happen after this method is executed. Any suggestions?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform