A
ant1983
Hi,
I have a form called frmEmailScheduleToClientMenu and on that form i have
the following unbound combo boxes:
txtClient (Row Source: SELECT [tblClientContact].[autClientID],
[tblClientContact].[txtCompany] FROM tblClientContact ORDER BY [txtCompany]
txtLevel (Row Source: SELECT [suptblLevel].[autLevelID],
[suptblLevel].[txtLevelAbbreviation] FROM suptblLevel ORDER BY
[txtLevelAbbreviation]; )
txtFacilitator (Row Source: SELECT [tblFacilitator].[autFacilitatorID],
[tblFacilitator].[txtName] FROM tblFacilitator ORDER BY [txtName];
txtCourse (Row Source: SELECT [suptblCourse].[autCourseID],
[suptblCourse].[txtCourse] FROM suptblCourse ORDER BY [txtCourse]; )
Then i have a command button cmdPreview that opens a report
rptTrainingDateForClientsWithCriteria which runs off a query
qryTrainingDateForClientWithCriteria. Both the query and report have the
following fields (and some more):
dateStartDate
dateEndDate
txtCourse
txtClient
txtLevel
txtFacilitator
Basically what i want to do is when i click cmdPreview to open the report i
want the report populated with the criteria i have specified on the above
form.
Now i know how to do this if i have only one criteria. I usually go to the
query and then build the following. Lets take txtLevel for example:
[Forms]![frmEmailScheduleToClientMenu]![txtLevel]
.... but how do i build the query so that i can see different reports by
selecting different criteria?
Thanks!
I have a form called frmEmailScheduleToClientMenu and on that form i have
the following unbound combo boxes:
txtClient (Row Source: SELECT [tblClientContact].[autClientID],
[tblClientContact].[txtCompany] FROM tblClientContact ORDER BY [txtCompany]

txtLevel (Row Source: SELECT [suptblLevel].[autLevelID],
[suptblLevel].[txtLevelAbbreviation] FROM suptblLevel ORDER BY
[txtLevelAbbreviation]; )
txtFacilitator (Row Source: SELECT [tblFacilitator].[autFacilitatorID],
[tblFacilitator].[txtName] FROM tblFacilitator ORDER BY [txtName];
txtCourse (Row Source: SELECT [suptblCourse].[autCourseID],
[suptblCourse].[txtCourse] FROM suptblCourse ORDER BY [txtCourse]; )
Then i have a command button cmdPreview that opens a report
rptTrainingDateForClientsWithCriteria which runs off a query
qryTrainingDateForClientWithCriteria. Both the query and report have the
following fields (and some more):
dateStartDate
dateEndDate
txtCourse
txtClient
txtLevel
txtFacilitator
Basically what i want to do is when i click cmdPreview to open the report i
want the report populated with the criteria i have specified on the above
form.
Now i know how to do this if i have only one criteria. I usually go to the
query and then build the following. Lets take txtLevel for example:
[Forms]![frmEmailScheduleToClientMenu]![txtLevel]
.... but how do i build the query so that i can see different reports by
selecting different criteria?
Thanks!