Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count on Condition
Message
De
19/07/1999 14:46:46
 
 
À
19/07/1999 13:59:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00243200
Message ID:
00243242
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform