Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending the value of a property to a report
Message
From
31/07/2002 12:07:57
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00684427
Message ID:
00684549
Views:
27
Hello Jayesh,

This is not correct. If a report is run from inside of a form, thisform is available, as well as other variables (including LOCAL) that may be in scope at that time. I can't think of any reason to ever need to declare a variable as PUBLIC for it to be visible within a report.

>Thisform can only be used within the Form. If you want to access Properties of the form in the report, do something like this.
>
>Form1.MyMethod()
>
>PUBLIC goForm
>
>goForm = Thisform
>
>REPORT FORM myReport
>
>Use goForm.myProperty in the PRINT WHEN, it should work.
>
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform