Dreamwalker
Programmer
Ok here is my problem
On the Report_Click I opened my report
Docmd.OpenReport ReportName , acpreview
It runs Report_open
If OpenEvent = False
Cancel = True
End if
Function OpenEvent as Boolean
If my data is correct everything will be fine
If my data is incorrect it runs Cancel = true then goes back to Report_Click ... and gives an error message about this event has been cancelled ... Im wondering how to remove this error ... I only want to cancel and continue everything w/o errors ...
Thanks for any help
Vince aka Dreamwalker
On the Report_Click I opened my report
Docmd.OpenReport ReportName , acpreview
It runs Report_open
If OpenEvent = False
Cancel = True
End if
Function OpenEvent as Boolean
If my data is correct everything will be fine
If my data is incorrect it runs Cancel = true then goes back to Report_Click ... and gives an error message about this event has been cancelled ... Im wondering how to remove this error ... I only want to cancel and continue everything w/o errors ...
Thanks for any help
Vince aka Dreamwalker