T
tbeynon
I need help getting the information selected from 3 combo boxes in a form to
pass to a query so that my report will populate with the data I requested in
the form. Information below.
Tables: tblProjects, tblCustomers, tblPunchItems
Relationships: one customer to many projects, one project to many punch items
Form: ParamForm with a command button to Preview Report.
Report: rptSpecificJobPunchlist
Query: In SQL View: SELECT tblProjects.ProjectName, tblProjects.Customer,
tblProjects.ISSProposalNumber, tblPunchItems.*
FROM (tblCustomers INNER JOIN tblProjects ON tblCustomers.Customer =
tblProjects.Customer) INNER JOIN tblPunchItems ON tblProjects.
ISSProposalNumber = tblPunchItems.ISSProposalNumber
WHERE (((tblProjects.ProjectName)=[forms]![ParamForm]![cboProjectName]) AND (
(tblProjects.Customer)=[forms]![ParamForm]![cboCustomer]) AND ((tblProjects.
ISSProposalNumber)=[forms]![ParamForm]![cboISSProposalNumber]));
When I click on the report (rptSpecificJobPunchlist) it opens up the
ParamForm where I can choose an existing Project Name, ISS Proposal Number
and Customer. Then, click the command button to preview the report.
However, when I go to preview the report I get nothing but the framework of
the report. No data.
I would be greatly appreciative if any assistance could be provided.
pass to a query so that my report will populate with the data I requested in
the form. Information below.
Tables: tblProjects, tblCustomers, tblPunchItems
Relationships: one customer to many projects, one project to many punch items
Form: ParamForm with a command button to Preview Report.
Report: rptSpecificJobPunchlist
Query: In SQL View: SELECT tblProjects.ProjectName, tblProjects.Customer,
tblProjects.ISSProposalNumber, tblPunchItems.*
FROM (tblCustomers INNER JOIN tblProjects ON tblCustomers.Customer =
tblProjects.Customer) INNER JOIN tblPunchItems ON tblProjects.
ISSProposalNumber = tblPunchItems.ISSProposalNumber
WHERE (((tblProjects.ProjectName)=[forms]![ParamForm]![cboProjectName]) AND (
(tblProjects.Customer)=[forms]![ParamForm]![cboCustomer]) AND ((tblProjects.
ISSProposalNumber)=[forms]![ParamForm]![cboISSProposalNumber]));
When I click on the report (rptSpecificJobPunchlist) it opens up the
ParamForm where I can choose an existing Project Name, ISS Proposal Number
and Customer. Then, click the command button to preview the report.
However, when I go to preview the report I get nothing but the framework of
the report. No data.
I would be greatly appreciative if any assistance could be provided.