Chrstine Pearce
Registered User.
- Local time
- Today, 23:31
- Joined
- Oct 20, 2003
- Messages
- 12
I've been struggling with this problem all week, so if there's anyone who can respond quickly I'd be much obliged as I’m about ready to shed a tear or two over this!
I have set up the following. (Note I've included ONLY the field names relevant to my problem.)
A table called CAR with a field called RequestorID*.
A table called Employees with the fields EmployeeID*,
LastName, FirstName, Phone, Email, Mobile
* The RequestorID and EmployeeID are linked.
A query called EmployeesQuery that gets data from the Employees table:
EmployeeID (primary key)
mName: [LastName] & ", " & [FirstName]
Phone
Email
Mobile
A form called frmCreateCAR with the following fields, in addition to other bound
fields from the CAR table.
Name (unbound)
Phone (unbound)
Email (unbound)
Mobile (unbound)
Okay, so here's my problem. When users open the frmCreateCAR form, I have a button they can click to open a form called called frmEmployees, which has all the information from the EmployeesQuery
When the user finds the name they want, they double-click the Name field. The EmployeeID is stored and frmEmployees closes.
The user is returned to frmCreateCAR where the Name, Phone, Email & Mobile values for selected EmployeeID are populated in their respective fields
It sounds like this should be SO easy, but I can't for the life of me figure out how to do it. (Another user a week ago suggested a combo box could do this easily, but it isn’t what I want nor need in the grander scheme of things.) Any help speedily delivered will be so very, very, very appreciated!
Christine
I have set up the following. (Note I've included ONLY the field names relevant to my problem.)
A table called CAR with a field called RequestorID*.
A table called Employees with the fields EmployeeID*,
LastName, FirstName, Phone, Email, Mobile
* The RequestorID and EmployeeID are linked.
A query called EmployeesQuery that gets data from the Employees table:
EmployeeID (primary key)
mName: [LastName] & ", " & [FirstName]
Phone
Mobile
A form called frmCreateCAR with the following fields, in addition to other bound
fields from the CAR table.
Name (unbound)
Phone (unbound)
Email (unbound)
Mobile (unbound)
Okay, so here's my problem. When users open the frmCreateCAR form, I have a button they can click to open a form called called frmEmployees, which has all the information from the EmployeesQuery
When the user finds the name they want, they double-click the Name field. The EmployeeID is stored and frmEmployees closes.
The user is returned to frmCreateCAR where the Name, Phone, Email & Mobile values for selected EmployeeID are populated in their respective fields
It sounds like this should be SO easy, but I can't for the life of me figure out how to do it. (Another user a week ago suggested a combo box could do this easily, but it isn’t what I want nor need in the grander scheme of things.) Any help speedily delivered will be so very, very, very appreciated!
Christine