Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is Private DE not Private?
Message
From
09/04/1998 16:41:56
 
 
To
08/04/1998 20:51:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00090627
Message ID:
00090924
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform