Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid opening a form with the wrong record ?
Message
De
19/07/2001 06:28:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00532330
Message ID:
00532422
Vues:
10
David,

Shouldn't he do this kind of thing in the first activate event? Drew Speedie wrote an article in FPA a couple of years ago about forms instanciation and coined "LISAG". Hed should probably check out the article.

>Eric,
>
>Make sure you are issuing a thisform.Refresh() after moving the record pointer in the form Init.
>
>>I am calling a form with a recid as parameter. I want for example to open the client form with one particular client. So, in the init of the form, I am positioning on the requested record and hop it shows on the screen.
>>The problem is that, when the form appears on the screen, it is showing the first record for a brief moment. I thought about seting the nodataonload property to .t. in the data environment but no-can-do, it is read only (Actualy I wonder why?).
>>What could be the solution for this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform