D
Dave Elliott
Below is my code to open the report and print the current record.
This code is generated via a command button on a form.
Also on the form is a Yes/No check box that if it is checked (Yes)
(Selected) is the control name
Then I want it to print the records that are selected to print.
The control is named (Selected) on the form.
On the form also is a way to Batch print.
How can I modify this code to achieve the desired result?
DoCmd.OpenReport "RCheckAll", acNormal, "",
"[ChkNoID]=[Forms]![FEmpTotHours]![ChkNoID]"
This code is generated via a command button on a form.
Also on the form is a Yes/No check box that if it is checked (Yes)
(Selected) is the control name
Then I want it to print the records that are selected to print.
The control is named (Selected) on the form.
On the form also is a way to Batch print.
How can I modify this code to achieve the desired result?
DoCmd.OpenReport "RCheckAll", acNormal, "",
"[ChkNoID]=[Forms]![FEmpTotHours]![ChkNoID]"