Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement