Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Those are two text documents, not the forms.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  2. #17
    anavagomez is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2017
    Posts
    31
    I figured out the problem. There is code that set the subform to nothing when the main form loads. Then, when the tab control gets clicked, an ordinal gets passed, and the subforms are then initialized.

    Example:

    Code:
    Case 4
            
                If Me.ProfessionNotationArranger.SourceObject <> "ProfessionNotationArranger" Then
                    
                    Me.ProfessionNotationArranger.SourceObject = "ProfessionNotationArranger"
    That is why I was not able to "talk" to the controls on the "ProfessionNotationArranger" subform. Now I added the call right after the line:

    Code:
    Me.ProfessionNotationArranger.SourceObject = "ProfessionNotationArranger"
    Call InitializeCombo(Forms("MTDDataCheck").Controls("ProfessionNotationArranger").Controls("Profession"), qstrcProfessions, 1, ",")
    And now it is working as expected.

    I am sorry for the whole time consuming thing. I do appreciate your help on this.

  3. #18
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    No problem, glad you got it sorted out.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. form on load event
    By vicsaccess in forum Programming
    Replies: 2
    Last Post: 01-13-2016, 11:33 PM
  2. Replies: 13
    Last Post: 09-10-2015, 03:37 PM
  3. Replies: 1
    Last Post: 03-29-2014, 07:46 PM
  4. Form Load Event
    By shah1419 in forum Forms
    Replies: 5
    Last Post: 01-13-2013, 12:42 PM
  5. Replies: 2
    Last Post: 06-09-2012, 01:56 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