Combo box doesn't relate correctly to another combo box

G

Guest

I have the following query in a combo box cboPlanVersionSelect that should display versions for a person selected in another combo box, cboPlanNameSelect

SELECT DISTINCT [tblPerformance].[Version] FROM tblPerformance WHERE ((([tblPerformance].[Version]) Is Not Null) And (([tblPerformance].[NameFull])=[Forms]!tblPerson!cboPlanNameSelect));

When I click in cboPlanVersionSelect, it brings up a window, "Enter Parameter Value" for FormstblPersoncboPlanNameSelect.

Everything looks to be spelled correctly. What connection is missing, and how do I fix it.
 
K

Kelvin

Forms should not be in brackets.

Forms!tblPerson!cboPlanNameSelect

Kelvin

DesertBear said:
I have the following query in a combo box cboPlanVersionSelect that should
display versions for a person selected in another combo box,
cboPlanNameSelect
SELECT DISTINCT [tblPerformance].[Version] FROM tblPerformance WHERE
((([tblPerformance].[Version]) Is Not Null) And
(([tblPerformance].[NameFull])=[Forms]!tblPerson!cboPlanNameSelect));
When I click in cboPlanVersionSelect, it brings up a window, "Enter
Parameter Value" for FormstblPersoncboPlanNameSelect.
Everything looks to be spelled correctly. What connection is missing, and
how do I fix it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top