Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query as rowsource on subform

Status
Not open for further replies.

MikeDNova

Programmer
Jul 3, 2002
86
0
0
US
hey guys,

i have a combo box on a subform that i want to use a query as the rowsource. the problem is when i try to add another control(combo box) as criteria to the query. I tried this which I believe should work but its not
[form]![tblmaterialbomcomponent]![Plant]

tblMaterialbomcomponent is the name of the subform.

then i would like to refresh this rowsource everytime the combo box is accessed.

all help would be appreciated, thanks.

-Mike
 
got it, had to refer to it as parent
[parent].[form]![tblmaterialbomcomponent]![Plant]

now just have to refresh... should be easy...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top