Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying cross tab data?
Message
 
 
À
27/07/2007 11:38:28
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:
01244172
Vues:
25
Steve,

The age of the data does not drive this cross tab output. The columns are setup through a system configuration, which drives what the user sees in a grid. It's beyond the scope of this thread but rest assured, how the data is presented (in a cursor) for the report is a cross tab.

>Aaron,
>
>So this is not merely a question of whether there are 10 months or 6 months worth of data that has been cross-tabulated. The user has a number of fields that they are choosing from.
>
>Is the data really "cross-tabulated"?
>
>Does the user have control over what order the columns are to be shown?
>
>In the report output, is there (generally) one row displayed per record?
>
>
>>I'm not sure either, but what steered me in the right direction was the use of the FIELD() API, in conjunction with tests for columncount FCOUNT(). Granted this is not perfect, as I can only put upwards of 10 columns in the report, but the user in theory could setup hundreds of columns (very unlikely).
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform