Hi all,
I'm having some issues with a combo box selection. I know I've had this issue before but I can't for the life of me remember how I've solved it.
My form is frmContacts, it's record source is tblContacts. tblContacts has the following columns - CompanyName (PK), ContactName (PK), ContactPosn (PK), ContactPhone, ContactEmail, ContactPerson, DateEnt. As you can see I have indexed it so there are 3 primary keys to prevent double entries.
The combo box I'm having trouble with shows three columns Name, Dept, Address from the Row Source tblCompany. The Control Source is CompanyName from tblContacts. This is bound to Name (so column 1), and then I have two text boxes to show the Dept and Address (=[CompanyName].[Column](1) and (2) etc). The remainder of form is updateable text boxes.
The issue I'm having is that despite my combo box showing all of the options for Name, Dept and Address, any option I select just defaults to the very first option.
Any help would be greatly appreciated
Leah
I'm having some issues with a combo box selection. I know I've had this issue before but I can't for the life of me remember how I've solved it.
My form is frmContacts, it's record source is tblContacts. tblContacts has the following columns - CompanyName (PK), ContactName (PK), ContactPosn (PK), ContactPhone, ContactEmail, ContactPerson, DateEnt. As you can see I have indexed it so there are 3 primary keys to prevent double entries.
The combo box I'm having trouble with shows three columns Name, Dept, Address from the Row Source tblCompany. The Control Source is CompanyName from tblContacts. This is bound to Name (so column 1), and then I have two text boxes to show the Dept and Address (=[CompanyName].[Column](1) and (2) etc). The remainder of form is updateable text boxes.
The issue I'm having is that despite my combo box showing all of the options for Name, Dept and Address, any option I select just defaults to the very first option.
Any help would be greatly appreciated
Leah