Results 1 to 6 of 6
  1. #1
    rocket2011 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    4

    Post Help with subforms before update event and making sure button on main form executes a

    Hey there, I have one main form and 2 continuous subforms in my access project. All my forms have before update routine to check for null condition. The problem is i have a close button on my main form which works fine if the user clicks it while updating the main form. However once from the subform if the user clicks on this button, it does not execute the code since the subforms before update event keeps throwing the validation check error. How do i force the code behind my button to execute at all times??



    ---
    regards angad

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694

  3. #3
    rocket2011 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    4
    hey adam,

    thanx for the help mate but that is just another thread of mine which i have posted on another forum ...hoping to get help or advice as early as possible ..since i am stuck with this since quite some days and need to make my deadline. i need my button to function exactly as how to default 'x' button functions in access, and forces to close the second time bypassing the before update event error!!

  4. #4
    rocket2011 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    4
    hey i got my problem solved from the other forum link above, thanx a ton though..

  5. #5
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    and even funnier, found here: https://www.accessforums.net/tutoria...wed-10278.html

    But if you're thinking that you can use more than one person on more than one different forum to get what you need in the shortest amount of time, know this: I have written my own program to detect this stuff while I'm browsing the forum.
    and Rocket, hey bud, no problem! You're certainly welcome! For what, I have no idea...

  6. #6
    rocket2011 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2011
    Posts
    4
    well now u can consider the thanx as teaching me basic forum ethics and not too sound too desperate i guess lol..

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

Similar Threads

  1. On Click Event For Button On Form
    By Desstro in forum Forms
    Replies: 3
    Last Post: 08-09-2010, 02:36 PM
  2. Replies: 0
    Last Post: 07-26-2010, 04:36 PM
  3. Replies: 0
    Last Post: 12-16-2008, 07:49 AM
  4. Making subforms editable
    By ashiers in forum Forms
    Replies: 7
    Last Post: 10-08-2008, 04:09 PM
  5. Replies: 2
    Last Post: 04-11-2006, 08:40 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