Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying cross tab data?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01243774
Message ID:
01244253
Vues:
25
What's the max # of columns in cursor?

>The values are fixed (numeric 1-5), which simplifies things.
>The cursor's column names do not exceed 10. I rotated the column names 315 degress, so it looks pretty decent.
>
>The expression to display a column looks like the following. It is repeated for each column but the column number check is incremented:
>IIF(USED('cursor') AND FCOUNT('cursor') >= 4,FIELD(4,'cursor'),'')
>
>The expression to display a value for a column looks like the following (for the column example above):
>NVL(IIF(USED('cursor') AND FCOUNT('cursor') >= 4,EVAL("cursor."+FIELD(4,'cursor')),''),'NA')
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform