I hsve a form which allows for printing various reports. All the coding for the report is attached to the click event of a command button on this form after the choice has been made. If there is no data to report, how can I avoid getting a run time error # 2501 message that says the open report action was canceled? I have inserted a message to the OnNoData event of the report but am still getting that message. I suspect that I have to handle this from the command button but am not sure of the syntax or where exactly to insert it. Appreciate any suggestions....thanks