Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count logical fields
Message
De
18/11/2005 17:55:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
18/11/2005 17:50:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01070432
Message ID:
01070435
Vues:
11
>Is there a simple way to total up the number of records that have a TRUE value in a logical field within the frx file?
>
>I suppose I could preprocess the number before calling the report but that seems overly complex. Yet I can't seem to find a simple way to do it within the report definition.
>
>Thanks for any suggestions.

Create a report variable, set its value to iif(LogicalField, 1, 0), and tell it to sum.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform