Advertisement

07.22.2008 at 06:54AM PDT, ID: 23585087
[x]
Attachment Details

Reference fieldlist of parent form from subform

Asked by jondecker76 in Access Coding/Macros, Access Forms

Tags: Microsoft, Access, 2003

I have a form that populates some data from a query. On that form is a subform. This subform has a listbox that needs one of the results from the parent form's query.

For example, my parent form does: "SELECT PK_Person, Name, Age FROM Persons", and uses the Name and Age fields to populate data on the form.
The subform needs access to the PK_Person value in the parent form.

I tried Me.Parent.PK_Person, but that didn't work.

How do I access this from the subform?

thanksStart Free Trial
[+][-]07.22.2008 at 07:06AM PDT, ID: 22059470

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Access Forms
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: koutny
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.22.2008 at 07:09AM PDT, ID: 22059505

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.22.2008 at 08:45AM PDT, ID: 22060636

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:12AM PDT, ID: 22060916

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:21AM PDT, ID: 22060986

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628