S
scott
I've seen several posts related to this, but I don't seem to be able to get
the answer.
I have a table with people in it and another table with contact info (phone,
email, etc.) The contact info is an ID, personID that relates to the id of
the person in the first table, and contact type. Contact type is an integer
field that relates to teh ID field in a contact type table that has a list of
contact types (home phone, work phone, home email, work email, etc.).
I want to create a continuous form that has the name of the person with a
combo box that lists the contact info for the person whose record is
selected. The query I am using for the combo box that does not work is:
SELECT ContactNumber.id, ContactNumber.Number [I'll add contact type once I
get the form to work]
FROM ContactNumber
WHERE (((ContactNumber.PersonID)=[Me]![ID]));
Me!ID should be the ID from the Person table when that person is selected.
I get the dialog box that asks for the Parameter Value for Me!ID. I've tried
replacing that with Forms!FormName!ID and then it returns the unfiltered list
of contact numbers in the combo box.
Thanks for your help.
the answer.
I have a table with people in it and another table with contact info (phone,
email, etc.) The contact info is an ID, personID that relates to the id of
the person in the first table, and contact type. Contact type is an integer
field that relates to teh ID field in a contact type table that has a list of
contact types (home phone, work phone, home email, work email, etc.).
I want to create a continuous form that has the name of the person with a
combo box that lists the contact info for the person whose record is
selected. The query I am using for the combo box that does not work is:
SELECT ContactNumber.id, ContactNumber.Number [I'll add contact type once I
get the form to work]
FROM ContactNumber
WHERE (((ContactNumber.PersonID)=[Me]![ID]));
Me!ID should be the ID from the Person table when that person is selected.
I get the dialog box that asks for the Parameter Value for Me!ID. I've tried
replacing that with Forms!FormName!ID and then it returns the unfiltered list
of contact numbers in the combo box.
Thanks for your help.