>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