Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is Private DE not Private?
Message
 
 
À
08/04/1998 20:51:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00090627
Message ID:
00090924
Vues:
34
Just to update you with what's going on, I tried your suggestion but it didn't work. After much though, I remember changing something in the contract form's parent form class so I when back and there it was! One stupid line of code in the parent form's Activate event.

Anyway, I've learn to be very careful when I make any changes to base or parent class in the future. OOPs is great but if you screw up, debugging it sometimes is harder.

Thanks again.
John.

>John,
>
>A modal form run from a form with a DataSession set to Private "inherits" the calling forms data session. Therefore, the tactic to use is:
>
>Change the DataSession to Public in the modal subform.
>Save the current contract record number.
>Change the contract record number to the desired record.
>DO FORM contrcov.
>Print what you want to print.
>Upon return, reset the record number.
It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform