Ani
Registered User.
- Local time
- Today, 22:04
- Joined
- Mar 10, 2012
- Messages
- 196
OK, will have to read it slowly more than twice! Thank you. Sorry to be a pain! I dont just want to copy and paste stuff or let everyone else do it for me, I want to be able to do it myself at some stage!Read this slowly, and then read it again.
"Mr, Mrs etc" are each records of the Titles table. The combo box uses the Titles table for its "Row Source" property.
The combo box has two columns (TitleID which is a number and Title which is text) but only the second is shown when the combo is dropped open because the "Column Widths" property is set to 0cm;0.769cm. "TitleID" is in the column that is set to 0cm and "Title" is in the column that is set to 0.769cm.
The combo box is bound to the "TitleID" field (its Row Source property) in the table that the form is bound to ("tblCustomerDetails").
When a selection is made in the combo box it is the "TitleID" value that is stored in the forms bound table. If you select "Miss" in the combo box for the customer (CustID 1) "Lesley Waaaaaa", save the record nad then open the "tblCustomerDetails" table, you will see that the number stored in the record for TitleID is 3, which is the ID number of "Miss" in the "tblTitleList" table.
Ani
