Results 1 to 2 of 2
  1. #1
    rosh41 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    10

    Referencing Issue

    Hi,
    I have a subform within a main form. I want to update a combobox in the subform depending on a value in the mainform, but are struggling to reference the combobox in the subform. The VBA editor doesn't recognise the combobox name.


    Can anyone help?

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    So would this be on the after update of the value on the mainform?
    Anyway it would be something like this:


    Me!SubformName.Form!ComboBoxName = Me!MainFormControlName

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

Similar Threads

  1. Referencing A Form Field In A Report
    By CGM3 in forum Reports
    Replies: 5
    Last Post: 07-01-2010, 08:16 PM
  2. Referencing a Subroutine
    By Lockrin in forum Programming
    Replies: 1
    Last Post: 02-26-2010, 10:09 AM
  3. Replies: 0
    Last Post: 01-28-2009, 03:47 AM
  4. referencing each record
    By grgerhard in forum Forms
    Replies: 1
    Last Post: 11-11-2006, 08:15 PM
  5. Referencing problem
    By thegamezn in forum Forms
    Replies: 1
    Last Post: 12-09-2005, 10:13 PM

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