Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Variable Issue
Message
From
29/07/1998 10:12:14
 
 
To
28/07/1998 21:30:23
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00122126
Message ID:
00122288
Views:
17
>>This is a classic problem, with a classic solution: you just can´t do it with variables. You need to calculate, *before* you list anything, the grand total, so it will be available for calculating percentages.
>>
>Sorry about the rookie type questions but if I calculate the percentage values before I run my report, how do I pass the values to my report before it runs.... with the 'with' command like I do in a procedure as in do 'something' with perc1,perc2,perc3 etc. ?

For example, you could create a cursor with the percentages; index it on its primary key, and SET RELATION from your file to it; then, when listing, include the percentage from the cursor.

HTH!
Previous
Reply
Map
View

Click here to load this message in the networking platform