Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Refreshing...
Message
 
À
10/01/2000 06:31:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00315372
Message ID:
00315496
Vues:
23
Jeff,

You are probably running into a variable scoping problem. It would be best to avoid variables in this situation. Instead give the first form a property named nAccept. Then when you call the verify form you can;

DO FORM Verify WITH THISFORM

In Verify you add a property named oCaller and in its Init you;

LPARAMETERS poCaller
Thisform.oCaller = poCaller

Then when the user makes their choice you can;
IF UserChoseOne
   Thisform.oCaller.nAccept = 1
ELSE
   Thisform.oCaller.nAccept = 2
ENDIF
This eliminates the memory variables trying to cross object boundaries.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform