I have a database with three tables Dept, Staff & Request with the following relevant fields...
Department Staff Request
Dept ID SaffID Staff
Dept Name SLName
SFName
Dept
The field Dept in the staff table is a query based lookup field back to the Department Table. Data is entered into the Dept field in Staff via a combo box which displays Dept Name and enters the corresponding Dept ID.
The problem arises with the third table. I want to use a combo box to display text in the form of "John Smith Accounting" in order to enter the corresponding Saff ID number and have created a query on Staff that produces that output correctly. However when I try to setup the Staff field in Request as a lookup based on this it the combo box displays "John Smith 12" instead.
Is there a way to get this to work.
[sig][/sig]
Department Staff Request
Dept ID SaffID Staff
Dept Name SLName
SFName
Dept
The field Dept in the staff table is a query based lookup field back to the Department Table. Data is entered into the Dept field in Staff via a combo box which displays Dept Name and enters the corresponding Dept ID.
The problem arises with the third table. I want to use a combo box to display text in the form of "John Smith Accounting" in order to enter the corresponding Saff ID number and have created a query on Staff that produces that output correctly. However when I try to setup the Staff field in Request as a lookup based on this it the combo box displays "John Smith 12" instead.
Is there a way to get this to work.
[sig][/sig]