I am using some comboboxes on my main form (frmMain) to filter the records of my unbound subform frm(viewlist). I would like to query all of the records that are filtered at the moment and use them in a a chart. However I can't figure out the SQL. Here is what I have:
SELECT qryNewestReport.PasID, qryNewestReport.Location, qryNewestReport.Week,
FROM qryNewestReport
where qryNewestReport.PasID = forms![employees list]!Viewlist.Form!pasid
Obviously this query only returns the active record where the cursor is placed on the subform. Is there a way to Select All in this scenario?
Thanks
Jim
SELECT qryNewestReport.PasID, qryNewestReport.Location, qryNewestReport.Week,
FROM qryNewestReport
where qryNewestReport.PasID = forms![employees list]!Viewlist.Form!pasid
Obviously this query only returns the active record where the cursor is placed on the subform. Is there a way to Select All in this scenario?
Thanks
Jim
