Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying cross tab data?
Message
From
27/07/2007 13:24:32
 
 
To
27/07/2007 11:38:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01243774
Message ID:
01244172
Views:
24
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).
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform