B
Barry Moses
Care to share some thougts? I would be most appreciative!
I am having difficulty understanding how the following sources effect the
outcome below.
I will try to minimize this for ease of explanation and a possible answer.
(There are many more fields and tables) I've tried to use the Classroom
Management database from MS but I'm still unable to chose the Practice and
have it populate the row.
Three Tables
Table A
tblMembers
MemberID
LastName
Table B
tblPractice
PracticeTitle
PracticeLocation
Table C
tblMemPra (Linkage Table)
MemberID
PracticeTitle
I have a form for searching and editing Members and what Practices they have
attended.
Main Form
Record Source - tblMembers
I have an unbound combobox that pulls down the members lastname to populate
the form. This works.
SubForm (Datasheet)
Source Object = tblMemPra Sub Form ..must have been autogenerated
Linked Fields = MemberID
Record Source = SELECT tblMemPra.MemberID, tblPractice.PracticeTitle,
tblPractice.PracticeLocation, tblPractice.PrNotes, tblPractice.PrDate
FROM tblPractice INNER JOIN tblMemPra ON tblPractice.PracticeTitle =
tblMemPra.PracticeTitle;
Combobox on SubForm =
Control Source = Practice Title
Row Source = SELECT tblPractice.PracticeTitle, tblPractice.PracticeLocation,
tblPractice.PrNotes, tblPractice.PrDate
FROM tblPractice INNER JOIN tblMemPra ON tblPractice.PracticeTitle =
tblMemPra.PracticeTitle;
Expected outcome:
Once I select a member from the main form I want to be able to go to the
subform and:
1. Have any Practice sessions the member is already tied to, display.
2. Be able to select a Practice session from the SubForm combobox and it be
tied to the member (ie, he now has a record that includes this session.)
I can't seem to get the datasheet to display the fields of a record.
Depending on what my source is, sometimes the fields display in the
datasheet without the information in the combobox and sometimes I get the
combobox information but all the other fields are blank. I'm sure it has to
do with my sources/relatiosnhips/quesrys??
Where am I making what is probably an elementary mistake in my
sources/linkage/relationship?
Thanks so, so much!!
Barry
I am having difficulty understanding how the following sources effect the
outcome below.
I will try to minimize this for ease of explanation and a possible answer.
(There are many more fields and tables) I've tried to use the Classroom
Management database from MS but I'm still unable to chose the Practice and
have it populate the row.
Three Tables
Table A
tblMembers
MemberID
LastName
Table B
tblPractice
PracticeTitle
PracticeLocation
Table C
tblMemPra (Linkage Table)
MemberID
PracticeTitle
I have a form for searching and editing Members and what Practices they have
attended.
Main Form
Record Source - tblMembers
I have an unbound combobox that pulls down the members lastname to populate
the form. This works.
SubForm (Datasheet)
Source Object = tblMemPra Sub Form ..must have been autogenerated
Linked Fields = MemberID
Record Source = SELECT tblMemPra.MemberID, tblPractice.PracticeTitle,
tblPractice.PracticeLocation, tblPractice.PrNotes, tblPractice.PrDate
FROM tblPractice INNER JOIN tblMemPra ON tblPractice.PracticeTitle =
tblMemPra.PracticeTitle;
Combobox on SubForm =
Control Source = Practice Title
Row Source = SELECT tblPractice.PracticeTitle, tblPractice.PracticeLocation,
tblPractice.PrNotes, tblPractice.PrDate
FROM tblPractice INNER JOIN tblMemPra ON tblPractice.PracticeTitle =
tblMemPra.PracticeTitle;
Expected outcome:
Once I select a member from the main form I want to be able to go to the
subform and:
1. Have any Practice sessions the member is already tied to, display.
2. Be able to select a Practice session from the SubForm combobox and it be
tied to the member (ie, he now has a record that includes this session.)
I can't seem to get the datasheet to display the fields of a record.
Depending on what my source is, sometimes the fields display in the
datasheet without the information in the combobox and sometimes I get the
combobox information but all the other fields are blank. I'm sure it has to
do with my sources/relatiosnhips/quesrys??
Where am I making what is probably an elementary mistake in my
sources/linkage/relationship?
Thanks so, so much!!
Barry