Results 1 to 2 of 2
  1. #1
    snipe's Avatar
    snipe is offline Competent Performer
    Windows 7 64bit Access 2003
    Join Date
    Sep 2013
    Posts
    287

    Using a BeforeUpdate to stop an AfterUpdate

    Hey guys,



    I think I am just having a blonde moment or something.

    My BeforeUpdate on an option group checks to see if a date for the record on a selection form matches a date on the main switchboard. If it does, I want a message to pop up and and for the option group to not be changed from the default value. The after update for that option group fires off some code that changes a few values for that record.

    How would I do this?

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    BeforeUpdate you need a compare, if valid, then a message box, change value to default, and lock the control

    not sure the AfterUpdate is at all relevant per se......not sure if it even fires....

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Beforeupdate to early
    By R_Badger in forum Forms
    Replies: 3
    Last Post: 02-09-2012, 10:38 AM
  2. Replies: 2
    Last Post: 09-08-2011, 11:14 AM
  3. Call .dll Code On BeforeUpdate?
    By phi11yguy19 in forum Programming
    Replies: 0
    Last Post: 07-02-2011, 10:20 PM
  4. Replies: 2
    Last Post: 11-29-2009, 12:00 PM
  5. BeforeUpdate and AfterUpdate Question
    By gsurfdude in forum Programming
    Replies: 0
    Last Post: 04-03-2008, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums