Results 1 to 6 of 6
  1. #1
    kirky is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    43

    Post Option Group button disabled when opening the form

    Dear Experts,



    Good day!

    I had a problem regarding the database that i am making. I have a main form "frmMain" this contains a button to open another form "DesignManual". The "DesignManual" form are contains an option button group to control the filtering of subform.
    I made it work with no compile errors with the code when i directly click or open the form "DesignManual" in access pane. But when I try to click a designated button for "DesignManual" located in "frmMain", the "DesignManual" form pops up but the option button group was disable and it cannot filter the subform.

    I attached herewith some screenshots of my db forms



    I hope somebody would read and share their expertise to my problem.

    Thank you in advance.
    Attached Thumbnails Attached Thumbnails Query 1.JPG   Query3.JPG   Query2.JPG  

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    can you post a copy of your db
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    kirky is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    43
    Mr. Bob Fitz,

    I am so sorry the company is restricting big file to send outside. Anyway, Ill try to explain if further as much as I can. As you can see in the first screenshot there is an arrow pointing to a button "Section 1: General & Project Management". That button designated to a particular form "Part 1: Design Manual" as you can see a screenshot #3. Then the second screenshot was a code behind the option group button. When I click the button "Section 1: General & Project Management" the form pops up "Part 1: Design Manual" but when I click the option group button it wont work. If i open the Design Manual form from access pane it works fine. I don't get the problem and i dont know how to do it.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    can you show us the code used by the button "DesignManual"
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    kirky is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    43
    Private Sub cmdDMSection1_Click()
    DoCmd.OpenForm ("DesignManual"), , , , acFormReadOnly, acWindowNormal
    DoCmd.Maximize
    End Sub

  6. #6
    kirky is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    43
    Mr. Bob Fitz,

    I figure it out, its because the button code is acformreadonly so i change it into acformedit.
    Thank you for guiding me......

    Thank you so much

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

Similar Threads

  1. Form Button to Execute Disabled Ribbon Command
    By stwalke2 in forum Programming
    Replies: 5
    Last Post: 04-29-2013, 01:00 PM
  2. Replies: 3
    Last Post: 12-02-2012, 09:38 AM
  3. Replies: 2
    Last Post: 11-30-2012, 08:03 PM
  4. Replies: 6
    Last Post: 07-20-2011, 11:54 AM
  5. Replies: 3
    Last Post: 11-02-2010, 10:15 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