A
Amit
Hi,
Will appreciate any help with this.
I designed a form based on a query that selects fields
from 2 tables, connected by a foreign key. This form is
used to enter employee information. It works fine.
Now, I added an unbound combo-box in the footer of the
same form and used the Combo Box Wizard to find a record
based on the value selected, and then
selected "PersonFirstName" from the list of available
fields. As soon as I do that, I get the following error:
" Syntax error in query expression '[Select [tblPerson]].
[PersonID]' ".
I'm not sure what's causing this error. I can see that the
syntax is incorrect, but:
a. I'm not selecting [PersonID]
b. where can I correct this syntax?? I've checked the code
for the form, and also the 'Properties' section for the
combobox, but didn't find any code corresponding to the
error message.
Any help on this will be appreciated.
Thanks!
-Amit
Will appreciate any help with this.
I designed a form based on a query that selects fields
from 2 tables, connected by a foreign key. This form is
used to enter employee information. It works fine.
Now, I added an unbound combo-box in the footer of the
same form and used the Combo Box Wizard to find a record
based on the value selected, and then
selected "PersonFirstName" from the list of available
fields. As soon as I do that, I get the following error:
" Syntax error in query expression '[Select [tblPerson]].
[PersonID]' ".
I'm not sure what's causing this error. I can see that the
syntax is incorrect, but:
a. I'm not selecting [PersonID]
b. where can I correct this syntax?? I've checked the code
for the form, and also the 'Properties' section for the
combobox, but didn't find any code corresponding to the
error message.
Any help on this will be appreciated.
Thanks!
-Amit