?
Solved

Form/Subform reference not working

Posted on 2011-09-14
1
Medium Priority
?
300 Views
Last Modified: 2012-05-12
I have a Form/Subform combo with a dropdown box on my form that references a column of a table.  In the subform, when the user selects the value on the form, I want that same value to show in a textbox (or a dropdown) in my subform.  

I tried making the rowsource [Forms]![Form2]![Combo1] but this seems to do nothing.  Please help.

Thanks
0
Comment
Question by:--TripWire--
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
Dale Fye earned 2000 total points
ID: 36537169

Unless you refresh or requery that control or the subform in the AfterUpdate event, nothing will happen in the subform.

The other method would be to use the AfterUpdate event of the main form combo to push the data to the subform control, like:

Private Sub combo1_AfterUpdate

    me!subformcontrolname!form.textboxname = me.combo1

End Sub
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question