G
Guest
Hello,
I need help with a form please.
My form has two controls, the first being a combo box. This box should
select the company name from a lookup table. The lookup table has only two
companies in it, however, they each are repeated several time. Company 1 has
about 10 rows, company 2 has 3 rows. I used the query builder and came up
with the statement:
"SELECT DISTINCT Lktbl_Role_Master.CompanyName
FROM Lktbl_Role_Master;"
When I run the statement directly from query view, it executes perfectly and
returns exactly two rows (one for each company, in a datasheet view) however,
when I put the Select statement into the rowsource property for the control,
the combobox does not populate and nothing is displayed on the form.
Table Definition:
ID Autonumber primary key
Company Name text
Role Name text
Can anyone help me understand what I am doing wrong?
TIA,
Rich
I need help with a form please.
My form has two controls, the first being a combo box. This box should
select the company name from a lookup table. The lookup table has only two
companies in it, however, they each are repeated several time. Company 1 has
about 10 rows, company 2 has 3 rows. I used the query builder and came up
with the statement:
"SELECT DISTINCT Lktbl_Role_Master.CompanyName
FROM Lktbl_Role_Master;"
When I run the statement directly from query view, it executes perfectly and
returns exactly two rows (one for each company, in a datasheet view) however,
when I put the Select statement into the rowsource property for the control,
the combobox does not populate and nothing is displayed on the form.
Table Definition:
ID Autonumber primary key
Company Name text
Role Name text
Can anyone help me understand what I am doing wrong?
TIA,
Rich