W
WDSnews
The addressing technique of the column object is generally presented as:
comboboxname.Column(#)
Where the number is used to identify a specific column, beginning with zero.
However, is it possible to identify the column with header text? such
as....
comboboxname.Column("ID")
In the case of a SQL statement such as SELECT [Item Types].ID AS ItemType
...... The associated column might be addressed as
comboboxname.Column("ItemType")
If it works, is there a reason not to prefer this? My goal is to allow
columns to be rearranged without having to repair code.
comboboxname.Column(#)
Where the number is used to identify a specific column, beginning with zero.
However, is it possible to identify the column with header text? such
as....
comboboxname.Column("ID")
In the case of a SQL statement such as SELECT [Item Types].ID AS ItemType
...... The associated column might be addressed as
comboboxname.Column("ItemType")
If it works, is there a reason not to prefer this? My goal is to allow
columns to be rearranged without having to repair code.