dluong
07-09-2003, 10:23 AM
Here is my setup:
1) Search form - which query for records
2) Result form - contain records base on the search form
Here is what I want:
A command button to Preview Print or Print all the records base on the results form.
Here the code that i have been using:
DoCmd.OpenReport "ReportName", acViewPreview, , "_ID = " & Me._ID
Some how it only return one record in the report. I need it to return all the record in the result form.
It's a urgent help. thank guy.
Dai
1) Search form - which query for records
2) Result form - contain records base on the search form
Here is what I want:
A command button to Preview Print or Print all the records base on the results form.
Here the code that i have been using:
DoCmd.OpenReport "ReportName", acViewPreview, , "_ID = " & Me._ID
Some how it only return one record in the report. I need it to return all the record in the result form.
It's a urgent help. thank guy.
Dai