Results 1 to 3 of 3
  1. #1
    Ahdr16 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    2

    Form's toggle button not pulling up subform as intended

    Hello - I am an Access/VBA coding newbie who's been tasked with troubleshooting an Access database issue at work.

    I am working with an Access 2007 db (Windows 7 o/s/32-bit). There are two Forms I'm working with:


    1) FIRM
    2) Firm RFP Entry subform

    The FIRM form has a toggle button entitled "RFP". When clicking the RFP button, we want to achieve the following:
    1) open the "Firm RFP Entry subform" Form and
    2) open to the Firm Name that is currently pulled up in the FIRM form

    However, when we click the RFP button, it thinks (hourglass) for a few seconds and nothing happens.

    I've been searching online for several hours, trying to figure out what the problem is with the underlying VBC code, but I haven't found a solution. I wanted to provide the entire VBA code string from the RFP toggle button here, in the hopes that someone could advise as to how we can fix the issue. I have attached a text file containing the code. If anyone can assist, I would be extremely grateful. Thank you for your time and expertise.
    Attached Files Attached Files

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,842
    you say your toggle button is called RFP - but there is no code associated with it

  3. #3
    Ahdr16 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2016
    Posts
    2
    Thank you for your response -- we were able to solve our issue by adding DoCmd.OpenForm "Firm RFP Entry subform" to the code and linking the two forms via the Firm ID by modifying the second form's Expression Builder field.

    Thanks again for your help -

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

Similar Threads

  1. Replies: 13
    Last Post: 04-08-2015, 12:47 PM
  2. Use Toggle button to select subform value
    By DerekAwesome in forum Forms
    Replies: 7
    Last Post: 12-02-2012, 07:15 PM
  3. Toggle Button Help
    By dbalilti in forum Access
    Replies: 1
    Last Post: 07-05-2012, 04:23 AM
  4. Toggle Button on Bound Form
    By P5C768 in forum Forms
    Replies: 7
    Last Post: 12-30-2010, 03:00 PM
  5. form not displaying as intended
    By markjkubicki in forum Forms
    Replies: 1
    Last Post: 07-24-2010, 07:04 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