L
Larry
I've got a combo box on a form that has two columns, "Country" and
"Province". The combo box data source is a query that references both fields
in ascending order. The combo box properties are as follows:
Control source type: [Province Name] (field in record source of form)
Row Source Type: Table/Query
Control source: SELECT [Countries and Provinces].[Country Name], [Countries
and Provinces].[Province Name] FROM [Countries and Provinces] ORDER BY
[Country Name], [Province Name];
Bound Column: 2
Limit to list: Yes
Column count: 2
Column Heads: Yes
Colums widths: 1";1"
PROBLEM:
Combo box drops down, user sees both columns and selects the
country/province that is appropriate. Since the bound colum is set for 2, I
should see the province value in the "Province Name" field. Doesn't happen.
When the form is launched, the records show the correct provinces, when I
try to change the field value via the combo box or add a new record, I get
the country value instead of the province. If I change the column count to 1,
I get the same thing.
Can't figure out whats going wrong. Why isn't the table field getting the
proper combo box value?
Thanks Larry
"Province". The combo box data source is a query that references both fields
in ascending order. The combo box properties are as follows:
Control source type: [Province Name] (field in record source of form)
Row Source Type: Table/Query
Control source: SELECT [Countries and Provinces].[Country Name], [Countries
and Provinces].[Province Name] FROM [Countries and Provinces] ORDER BY
[Country Name], [Province Name];
Bound Column: 2
Limit to list: Yes
Column count: 2
Column Heads: Yes
Colums widths: 1";1"
PROBLEM:
Combo box drops down, user sees both columns and selects the
country/province that is appropriate. Since the bound colum is set for 2, I
should see the province value in the "Province Name" field. Doesn't happen.
When the form is launched, the records show the correct provinces, when I
try to change the field value via the combo box or add a new record, I get
the country value instead of the province. If I change the column count to 1,
I get the same thing.
Can't figure out whats going wrong. Why isn't the table field getting the
proper combo box value?
Thanks Larry