Results 1 to 3 of 3
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    Triggering a form event from a report


    I have a pop up form that sits on top of various reports it controls. When I click a subreport on one report, I set a few control values on the form. Ideally I would like to trigger the after update events on the form and let it do the rest of the work, but that doesn't seem to happen.

    I've tried putting most of the code in modules and calling them from my report, but despite my best efforts it hangs up. I call the same code from the form and it works every time. Before I burden you with the details, is there a way I can just let the form do the work without having to tear my hair out debugging?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Never tried calling a form procedure from a report, just another form.

    Post the report code you attempt. Where does it 'hang up'?
    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
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    June,

    This is another one of my chart programming mysteries. The code gets called from all kinds of different places, but till now, always from the form. It runs well about 90 - 95% percent of the time. 95 to 100% would be better, but I'm still adding feature and having to adapt to them. This little item is too low a priority to pursue right now. It may come out in the wash.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-07-2012, 12:17 PM
  2. Replies: 2
    Last Post: 01-17-2012, 01:17 PM
  3. Replies: 0
    Last Post: 03-11-2010, 02:11 AM
  4. Form does not update after event
    By pedro in forum Forms
    Replies: 10
    Last Post: 12-23-2009, 07:54 AM
  5. Form Event Question
    By protean_being in forum Forms
    Replies: 3
    Last Post: 05-06-2008, 10:43 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