M
mrphpman
I have a Combo Box that is intended to display one column from a query:
CategoryName, based on a RowSource statement and another column from the
query: CategoryID, is to be bound to a numeric field in the table: CategoryID.
When a selection is made from the drop-down list, the box does not display
any data.
The RowSource statement selects 3 columns from the query:
SELECT [Categories Query].[CategoryName], [Categories Query].[CategoryCode],
[Categories Query].[CategoryID] FROM [Categories Query];
The ColoumnCount is set to 1 and the BoundColumn is set to 3. Only when I
change the ColumnCount to 2 does the box display any data and the bound
column is saved to the CategoryID field. This will display 2 columns in the
Combo Box, which is not what I want.
I have another Combo Box that displays a column from another query and saves
the bound column to it's respective field in the table. The settings are
identical to the other Combo Box and it works fine. Does anyone know why this
is?
CategoryName, based on a RowSource statement and another column from the
query: CategoryID, is to be bound to a numeric field in the table: CategoryID.
When a selection is made from the drop-down list, the box does not display
any data.
The RowSource statement selects 3 columns from the query:
SELECT [Categories Query].[CategoryName], [Categories Query].[CategoryCode],
[Categories Query].[CategoryID] FROM [Categories Query];
The ColoumnCount is set to 1 and the BoundColumn is set to 3. Only when I
change the ColumnCount to 2 does the box display any data and the bound
column is saved to the CategoryID field. This will display 2 columns in the
Combo Box, which is not what I want.
I have another Combo Box that displays a column from another query and saves
the bound column to it's respective field in the table. The settings are
identical to the other Combo Box and it works fine. Does anyone know why this
is?