Hlp! Combo Box Content

D

dee

Hi,

I've got a form and subform:

The main form displays MeetingID, FamilyName combo box that populates
FamilyID, MainPhoneNumber, DateOfMeeting, MeetingNotes.

The sub form displays ContactID which is populated by a combo box that is
SUPPOSED to display only the contact names for the family currently displayed.

I initially had ALL contact names displayed, no matter which family was
currently displayed and, after help here, modified by SQL, but now it shows
only the first contact name for ALL families. So, I have a particular name,
say John Smith - Father displayed no matter what!

Here is my SQL combo box code:

SELECT QryConcatenatedContactNames.ContactID,
QryConcatenatedContactNames.ContactName, QryConcatenatedContactNames.Role,
QryConcatenatedContactNames.FamilyID
FROM QryConcatenatedContactNames
WHERE
(((QryConcatenatedContactNames.FamilyID)=[Forms]![FrmFamilyMeetings]![FamilyID]))
ORDER BY QryConcatenatedContactNames.ContactName;

I would appreciate any help. I'm spending days on this and am getting very
frustrated! :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top