Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    On No data (2003)

    I have some code that runs when a report has no data:
    Private Sub Report_NoData(Cancel As Integer)

    MsgBox "There is no information for that selection", vbInformation
    Cancel = True
    End Sub

    When the message comes up that there is no information for that selection, I get another message box after that that says "The OpenReport action was cancelled". Is there a way to suppress that second message?

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

    Re: On No data (2003)

    You asked the same question in <post:=688,978>post 688,978</post:> - see my reply there. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

Posting Permissions

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