R
Rob W
Greetings,
I designed a form and ran the macro button wizard to create a button (with
macro) to run my report.
This worked fine, with my report output also containing buttons to exit and
print the report.
I later wanted to add validation to check if the report was empty, so I
removed the button created by the wizzard and created my own, adding my own
vba code.
The problem lies I can only run the report using 'DoCmd.OpenReport
"rptStudentClassification", acViewPreview'
but this is a preview mode only and therefore cannot use buttons present on
the report.
How do i run the rpeort to show output and allow buttons to be used?
Cheers
Rob
I designed a form and ran the macro button wizard to create a button (with
macro) to run my report.
This worked fine, with my report output also containing buttons to exit and
print the report.
I later wanted to add validation to check if the report was empty, so I
removed the button created by the wizzard and created my own, adding my own
vba code.
The problem lies I can only run the report using 'DoCmd.OpenReport
"rptStudentClassification", acViewPreview'
but this is a preview mode only and therefore cannot use buttons present on
the report.
How do i run the rpeort to show output and allow buttons to be used?
Cheers
Rob