T
TrevorJ
I have a form with multiple search boxes to filter on one or more different
fields on the form. When any of the search boxes are changed, I make up an
SQL statement and poke it at the record source of a subform on the main form
to produce the filtered results that I
want.(Me![frmSearchResults].Form.RecordSource = strSQL & strCriteria)
I then need to get a report printout of the recordset displayed. I cannot
realistically make a query based on the form fields as they do not
neccessarily all contain my search criteria. I have played around with
recordset.clone, and can count the records, but what I want to be able to do
is poke the recordset (How can I or otherwise) at a report as its
recordsource to produce the same data.
Can anyone please help?
Trevor
fields on the form. When any of the search boxes are changed, I make up an
SQL statement and poke it at the record source of a subform on the main form
to produce the filtered results that I
want.(Me![frmSearchResults].Form.RecordSource = strSQL & strCriteria)
I then need to get a report printout of the recordset displayed. I cannot
realistically make a query based on the form fields as they do not
neccessarily all contain my search criteria. I have played around with
recordset.clone, and can count the records, but what I want to be able to do
is poke the recordset (How can I or otherwise) at a report as its
recordsource to produce the same data.
Can anyone please help?
Trevor