Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count on Condition
Message
From
19/07/1999 14:46:46
 
 
To
19/07/1999 13:59:40
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00243200
Message ID:
00243242
Views:
18
>Hello All,
>
>I'm working on a statistical report were I need to count the number of records that have a date > hld_date and < hld_date, etc. I have attempted to use IIF(date>hld_date,field,0) in the 'Value to Store' of the Report Variable but I can see that that won't work. It's going to count 1 for the field and 1 for the 0. Any suggstions? TIA

IIF(date > hld_date,1,0)

I'd advise renaming things so that you don't use a reserved word for a field name.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform