Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Percentage calculation in expression of report
Message
From
30/11/2001 11:22:52
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00588031
Message ID:
00588040
Views:
24
>I have an expression in a report that should calculate percentages. It is in the form (A / (B + C + D ) )*100 but it also includes a .prg in the calculation. It is returning a 0.00 value when run. Can anyone please help with the proper code?
>The following is the code I am using:
>( calcrpt() / ( calcrpt() + table.field + table.field2 ) ) * 100
>
>the .prg is the calcrpt() and when used by itself in another expression on the same report works correctly.
>
>Thank you!
>Max

Max --

Hi!

What's the code for calcrpt()?

Jay
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform