hi,
i have two tables, tblContact and tblorganization, linked on a many to one relationship through OrgID (OrgID is foreign key to tblContact).
I have created a subform, which is used in another form, to create a link between another table, tblProject and tblContact (these are many-to-many, hence the use of subforms).
I figured out how the combo box would work, and I can show the OrgID next to the appropriate Contact name (Contact name on a combo box, orgID shows up as textfield). What I can't seem to figure out is how to replace the OrgID with the actual organization name (in the Contact table it shows as the name, not the ID).
I pull the OrgID from the Combo Box (hidden column) using
=Combo2.Column(2)
Maybe I need to replace the ID with the Name in the Combo Box? How do I do this/
Thanks a ton to this forum
Making life much easier, for a good bunch of ppl
pmo
i have two tables, tblContact and tblorganization, linked on a many to one relationship through OrgID (OrgID is foreign key to tblContact).
I have created a subform, which is used in another form, to create a link between another table, tblProject and tblContact (these are many-to-many, hence the use of subforms).
I figured out how the combo box would work, and I can show the OrgID next to the appropriate Contact name (Contact name on a combo box, orgID shows up as textfield). What I can't seem to figure out is how to replace the OrgID with the actual organization name (in the Contact table it shows as the name, not the ID).
I pull the OrgID from the Combo Box (hidden column) using
=Combo2.Column(2)
Maybe I need to replace the ID with the Name in the Combo Box? How do I do this/
Thanks a ton to this forum
Making life much easier, for a good bunch of ppl
pmo