G
Guest
I have a form with a subform in it. They are linked by a field OccurranceNo.
I have a combo box on the subform that has its dropdown populated by a query
with a where clause
Where tbl.OccurranceNo = forms!frmParentForm.OccuranceNo
With the form open, this query produces the expected result. However, when
it runs within the subform it produces no data and leaves the data portion
blank. If I remove the Where clause the query and combo box work as
expected, but I need the criteria for the context of the application. I
figure the problem has to be the syntax of the Where clause. Any suggestions
would be greatly appreciated.
I have a combo box on the subform that has its dropdown populated by a query
with a where clause
Where tbl.OccurranceNo = forms!frmParentForm.OccuranceNo
With the form open, this query produces the expected result. However, when
it runs within the subform it produces no data and leaves the data portion
blank. If I remove the Where clause the query and combo box work as
expected, but I need the criteria for the context of the application. I
figure the problem has to be the syntax of the Where clause. Any suggestions
would be greatly appreciated.