Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Commondialog.CancelError

    Can any explain this function for me, and have you an example?
    I cannot get anything from it.

  2. #2
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Commondialog.CancelError

    To eloborate, my Access97 on Windows 98 does not recognise .CancelError. Can any please help regarding the references I need?????

  3. #3
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Commondialog.CancelError

    Done!!

    Form_frm.... .comdia1.CancelError = True

    On Error Resume Next
    Form_frmTimeInDept.comdia1.ShowSave
    If Err.Number = cdlCancel Then
    'MsgBox "Cancel button clicked"
    GoTo ErrHandler
    End If
    On Error GoTo 0


    DoCmd.....

    ErrHandler:
    'User pressed the Cancel buttonExit Function

Posting Permissions

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