Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Variables to Reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00221356
Message ID:
00221427
Views:
14
>>The report should recognize
>>
>>Thisform.mypem...
>
>Hi Rich,
>I like the approach, but it doesn't work for me. In the report's field object I tried thisform.myprop, activeform.myprop, & _Screen.myform.myprop W/O success.
>
>I didn't understand the other responder's use of the data environment to get at the form's properties.
>
>Is there a way to scope to the form from within the report? or Must I use a global var as others have suggested? Gee, I must be missing something simple here.

Er, I'm Bruce...I have dozens of reports and no Publics, so I know it can be done :) Using Thisform will work from a form, generally, and also using locals in a custom method where a report is launched will work...however, if you run reports from outside a form - from menu, toolbar, there can be problems, of course...

Where are you "launching" the reports from, exactly? For example, if you put a button on a form that says "Print" it should pick up any currently scoped property from the form or a local from the button for the report...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform