Results 1 to 6 of 6
  1. #1
    thekruser is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    93

    Open form on update of field in another form.

    What I have:
    frmDataEntry
    -txtTrainingCompleteDate

    frmTrainingVerify (only has text and close button)

    What I am trying to do:
    I am trying to get frmTrainingVerify to open when txtTrainingCompleteDate is updated. It is basically just a popup telling the user to verify the information he/she just entered and to remind them that this action requires another action by them.

    The problem:
    I am not sure how to procede. I think I need to add an AfterUpdate event procedure, but I cannot figure out the VBA code to get it done (I know NOTHING about VBA).

    Thank you in advance for your time and help.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I would probably just use a message box instead of a form, but the code to open it would be:

    DoCmd.OpenForm "frmTrainingVerify"

    Here's how to get it into the event code:

    http://www.baldyweb.com/FirstVBA.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    thekruser is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    93
    Oh...even better. How do I do a message box? That would be PERFECT!!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Look at MsgBox in VBA help for all the options. At its simplest:

    MsgBox "Your text here"
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    thekruser is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    93
    It worked perfectly. Thank you for your help!!

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 3
    Last Post: 10-30-2013, 11:42 AM
  2. Replies: 7
    Last Post: 11-29-2009, 01:44 PM
  3. Replies: 4
    Last Post: 07-22-2009, 02:33 PM
  4. In a field on a Form, on click open another form
    By jackieagra in forum Programming
    Replies: 1
    Last Post: 03-20-2008, 09:44 AM
  5. Update table from calculated field in a form
    By BernardKane in forum Forms
    Replies: 3
    Last Post: 11-28-2006, 09:48 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