Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 different lines in a grid
Message
From
01/07/2003 20:50:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00805901
Message ID:
00805906
Views:
28
>Is it possible to have 2 different lines in a grid as follows:
>
>The first line would have 5 different text fields and the second line would have a memo field either all the way across or for the length of one field only? Then you start over on line 3.
>
>Thanks
>Raymond Larche

Basically, the grid shows one row for each record. If you have a table, view or cursor with alternating records, you can probably use Column.DynamicCurrentControl, to show different controls on even- and odd-numbered rows. (The condition for "even" is: recno() % 2 = 0).

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform