Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report question
Message
 
To
02/10/1998 09:06:57
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00143084
Message ID:
00143202
Views:
23
>>Yes, that will surely work, but I think Puri will also benefit from mentioning the possibility of stating
_Screen.ActiveForm.property
in the report field, or any other UDF outside the active form for that matter
>>
>>Best
>
>Are you guys doing this? I know you can't use thisform. in the report, since the report is not contained in a form.

Bob,

Ehhh you're right. The Thisform.Syntax won't work. Sorry about that.

Marc
>
>Using _screen.activeform.property may work, but what happens when the print screen gets focus?
>
>How about declaring a private variable with a reference to the form?
>
>private opCallingForm
>opCallingForm = this
>
>This in the report you would access...
>
>opCallinForm.property
>
>Of course, then the report would need to be hard coded to always use opCallingForm...
>
>Perhaps you can also create privates of the form properties...
>
>private var1,var2,var3,var4
>
>var1 = thisform.var1
>var2 = thisform.var2
>var3 = thisform.var3
>var4 = thisform.var4
>
>report form ...
>
>BOb

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform