Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying cross tab data?
Message
 
 
To
27/07/2007 15:55:11
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:
01244253
Views:
24
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform