Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report question
Message
From
02/10/1998 09:06:57
 
 
To
02/10/1998 03:26:46
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00143084
Message ID:
00143192
Views:
18
>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.

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform