Results 1 to 3 of 3
  1. #1
    mercapto is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Spain
    Posts
    91

    To trigger an event in a subform when change record in main form

    Hello.



    I have a form with a subform and the subform has another subform as well. I am quite doing what I want but, when I change the record in the main form, all settings remain since no events are triggered with this action.

    I tried to add the code to several events in forms and fields (which are apparently being changed or updated, at least in my screen) but no event was fired when I move between records.

    I wonder how do you set up to trigger events in subform when you change to another record in the main form.

    Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What 'settings' remain? What do you want to happen? Did you try code in the subform's Current event? A procedure in subform can be called from main form.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    mercapto is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Spain
    Posts
    91
    Ooopps not that one in subform. It worked.

    Thank you.

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

Similar Threads

  1. Replies: 4
    Last Post: 10-29-2014, 03:49 PM
  2. Event trigger at loading each record
    By xcheshirecat in forum Forms
    Replies: 5
    Last Post: 06-12-2014, 10:11 AM
  3. event to trigger after new record
    By richlyn in forum Access
    Replies: 1
    Last Post: 03-02-2012, 10:26 AM
  4. Replies: 2
    Last Post: 07-24-2011, 08:50 PM
  5. Trigger subform event
    By tuna in forum Forms
    Replies: 0
    Last Post: 05-09-2010, 06:29 AM

Tags for this Thread

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