Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Passing a record from one form to another
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement