Jason,
Reports have a RecordSource property which can be changed
programatically. On the other hand, if what you are trying to achieve is
to filter the report based on selections in the form, then the
WhereCondition argument of DoCmd.OpenReport is your friend! All you
would need is something along the limes of:
strWhere = "[Field1] = '" & Me.Contol1 & "'"
DoCmdOpenReport "MyReport", acViewPeview, , strWhere
behind the command button (on the same form) that opens the report.
HTH,
Nikos
> Hi,
>
[quoted text clipped - 9 lines]
> Can it be done something like for each control in form do...... (i don't
> know the syntax)