Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a Value to report variable from a form
Message
From
02/06/1999 20:13:16
 
 
To
02/06/1999 12:25:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00225138
Message ID:
00225706
Views:
12
If you declare the variable PUBLIC before calling the report, then the report will use it. In fact, the same is true for PRIVATE variables, only that you have to initialize them before calling the report.

This goes fine if what you want is to get back the values of those variables after the report is finished.

If you want to pass data to the report using a report variable, then its initial value in the report must be its own value! Ie: If your variable is called MyVar, then its initial value must be MyVar. IMHO, this is not the best thing to do and it's error prone and difficult to maintain. Still, it may be the only way to do what you need to do.

Vlad

>There are no public report variables the last time I looked
>Peter
Previous
Reply
Map
View

Click here to load this message in the networking platform