Advertisement

06.22.2008 at 10:26PM PDT, ID: 23506634 | Points: 250
[x]
Attachment Details

Linking Info from Subform A to Form B

Asked by scrair in Access Forms, Microsoft Access Database, Access Coding/Macros

Tags: Microsoft, Access, 2003

I can't figure this out but I don't think its that hard.  Hopefully someone can help me here:

I have an Access 2003 DB for Classes, Students, and related info.  

The first form involved in this problem is called "Classes" showing simple contact info.  This form contains a sub-form called "Classes Subform" showing the students that have enrolled in that particular class.  On "Classes Subform", the list of students enrolled in the Class are shown in Form view.  The fields on the "Classes Subform" are 'Student ID' (a combo box...displaying First and Last Name of Student from SQL query), 'PhoneNumber' (a textbox), 'EmailName' (a textbox), and 'ParentsNames' (a textbox).

I am trying to add functionality so that when a user double-clicks on a students name on "Classes Subform", the form "Students" opens with all of the related Student info.  I would also like to add a control button with the same functionality.  The field on "Students" is also called 'StudentID'.

All of my attempts at this have failed.  I'm missing something simple here but I know its a simple link on the 'double-click event', etc.    Any help is much appreciated.  Thanks!Start Free Trial
 
Loading Advertisement...
 
[+][-]06.22.2008 at 10:52PM PDT, ID: 21843781

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.

 
[+][-]06.23.2008 at 02:39AM PDT, ID: 21844616

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