Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Average
Message
From
14/01/2000 15:46:08
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00318249
Message ID:
00318349
Views:
26
>>>I have a field in the detail band that I want the average of in the group footer and summary. I copied the field to the two places and clicked "average" under calculations.
>>>
>>>The problem is that I don't want to see the decimal places. So I put a format of 999. It doesn't print anything. Not astrisks, not anything. If I don't put a format, it prints the number with all the decimal places. I tried ROUND(gpmper,0) and that doesn't work, either.
>>>
>>>Any ideas?
>>>
>>>Thanks,
>>>
>>>Michelle
>>
>>Hi Michelle,
>>
>>How many decimal places it gives you?
>>Did you try to change the report field width?
>
>4. The size doesn't matter. No matter how big I make it, if I have a mask, it doesn't print anything.
>
>Thanks,
>
>Michelle

So is the field physically large enough on the report form? Maybe all you're seeing is the leading spaces? Try making the field on the report larger, using Shift-RightArrow after you've selected it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform