Results 1 to 4 of 4

Thread: stupid question

  1. #1
    Join Date
    Feb 2003
    Posts
    107

    Unanswered: stupid question

    I have validation logic that runs to test whether certain fields are inputted properly etc on my form. I call these methods in the Before_Update of each form. But How do i actually STOP the update from happening? OR how do i stop the form from being closed?
    Right now, I just give all these warnings but the save still happens!


    Please and thanks.
    Last edited by dotolee; 01-26-08 at 22:45.

  2. #2
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Add

    Cancel = True

    to stop the update.
    Paul

  3. #3
    Join Date
    Feb 2003
    Posts
    107

    to prevent close on form...

    I don't think i can use this to stop a form from closing right?
    I tried and it doesn't work. Will try now on the update...

    If you have any ideas for the form, I'd appreciate it.
    Thanks.

  4. #4
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Actually you can use that, in the form's Unload event.
    Paul

Posting Permissions

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