Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotating a grid
Message
From
15/01/2004 15:27:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00867251
Message ID:
00867263
Views:
17
>>>I would like to take an existing table and have it display the data in a grid, but I need the grid to be rotated 90 degrees so that:
>>>
>>>
>>>
>>>           Field 1      Field 2    Field 3
>>>--------------------------------------------------
>>>Record 1
>>>--------------------------------------------------
>>>Record 2
>>>--------------------------------------------------
>>>Record 3
>>>--------------------------------------------------
>>>
>>>becomes:
>>>
>>>           Record 1      Record 2    Record 3
>>>--------------------------------------------------
>>>Field 1
>>>--------------------------------------------------
>>>Field 2
>>>--------------------------------------------------
>>>Field 3
>>>--------------------------------------------------
>>>
>>>
>>>Is there an easy way to accomplish this that I am just overlooking?
>>>
>>>TIA,
>>
>>Change the Grid.View property to 1 or 3.
>
>Fred,
>
>This makes the grid rotate, but only one column - is there a way to do this so that the user can scroll horizontally to see more than one column of data?

No, you'd have to create a cursor with additional fields that looks like what you want in order to do that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform