Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summary not working correctly
Message
From
19/06/2003 11:37:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Summary not working correctly
Miscellaneous
Thread ID:
00801793
Message ID:
00801793
Views:
95
I have a report where I need to summerize a field based on the value of another field. The table have two values for this field. Adequate and Inadequate. I need to do a breakdown of the length field for those two values.

I used the function iif(Road_crown = 'Adequate', length, 0) for adequate and
iif(road_crown = 'Inadequate', length,0) for Inadaquate. Both of these are summed in the calculations tab.

This seams to work when there is a value greater than 0 for both fields however if one does not occur in the table the report gets messed up. The number 0 does not always print out. Is there a better way to do this?

thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform