>Juan...
>
>Doesn't THISFORM lose scope inside the report? The report thinks that THISFORM is supposed to be an alias in an open workarea. Try instantiating a memvar to hold THISFORM (goForm = THISFORM) before running the report, and using goForm.MyProperty instead.
>
>Scott
>
>>How can i reference a form's property inside a report?
>>i.e: I want the report to print myform.my_property
>>
>>I can't issue thisform.my_property because i get an error message.
>>
>>Thanks
>>
>>Juan Carlos
If you run the report from the form (or any form control code) THISFORM does not loose the scope. I use this approach all the time.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison