Results 1 to 2 of 2
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Additional Message in Report NoData event (2003)

    Is there a way to avoid the message "The OpenReport action has been cancelled" popping up right after the message "Report not available for the selected date" when you, e.g., select January 1, 2005 in the startup form of the attached mdb and click the "Stoppage Hours list" button?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Additional Message in Report NoData event (2003)

    This question has been answered many times before. The "action cancelled" error is error # 2501, you can safely ignore this:

    ...
    Err_Comando16_Click:
    If Not Err = 2501 Then
    MsgBox Err.Description
    End If
    Resume Exit_Comando16_Click
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •