Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column order not behaving properly
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid column order not behaving properly
Miscellaneous
Thread ID:
00180072
Message ID:
00180072
Views:
48
My columns are not displaying in order, but the header captions are.

I have a grid attached to a table with fields 1 thru 11. I want field 11 to be displayed as the first column in the grid.

In the form properties, I have set the columnorders so that column1, which has controlsource tablename.field11, is in columnorder 1.

Additionally, in the form init event, I have the following:

with this.grid
.recordsource = tablename
.columncount = 11
.column1.controlsource = tablename.field11
.column1.controlorder = 1
.column2.controlsource = tablename.field1
.column1.controlorder = 2

(and so forth)

endwith

And nonetheless, field 11 is being displayed as the 11th column.

Any suggestions would be appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform