General information
Category:
Forms & Form designer
Title:
Grid column order not behaving properly
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only