Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where Is the best place to place code for returning to F
Message
 
À
19/04/1999 12:16:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00209678
Message ID:
00209711
Vues:
25
>I removed some code that I had placed in the activate of the original form and placed a return (I did not have one) in the second form unload event. Since I am passing a Global, It worked. I still am having a problem if I try to Delete something on the second form it is deleting the master not the child record. Thank you for being patient with a beginner.

I need more information here. You say about 'deleting' the master, not the child - what do you mean by this? My previous reply didn't come out correct. It should have read DO FORM "formname" TO "variable" where variable is the receiving variable which the child form passes back to. In the unload event, you say RETURN "returnvalue", this is what is returned to "variable".

Example: DO FORM testform TO lnTestFormReturn

in testform.Unload you put RETURN -1

lnTestFormReturn will then equate to -1 (return value).

Without more explanation of your situation, I don't know if this is what you want.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform