Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rpt Variable being obstinate
Message
From
06/11/2008 09:27:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Rpt Variable being obstinate
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360157
Message ID:
01360157
Views:
57
UI have 2 rpt vars: SumBooked and SumQuantity
SumBooked is set to calculate sum of Bookedcolumn
SumQuantity is set to calculate sum of Quantity column
The following happily prints the %age:

SumBooked / SumQuantity * 100

But when I convert it thus:

STR( SumBooked / SumQuantity * 100) +"%"

all I get is the decimal point.

What am I missing here?

'ppreciate it

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Next
Reply
Map
View

Click here to load this message in the networking platform