C
Chris
I'm trying to help someone who inherited a database that really needs to be
re-worked, but she has to get a database released within a few days. Neither
one of us has used Access in recently, so any help you can give would be
great. I've been searching for a response, but can't seem to get any non-VBA
solutions to work. We plan to attend training, but are in emergency mode
now. Two question.
Question #1 Display Employee Number when Employee Name is selected
Table:
C3 Employee Master.Name (form control Name is Employee Name & is a combo box)
C3 Employee Master.Agent_ID (form Name is ID# & is a textbox)
Form Name = "Name" & is a look-up from the C3 Employee Master.name table
Form Name = "ID #" & is a look-up from the same table [Agent_ID]
I tried to accomplish this by entering this in the Control Source for the
Employee Number field but I'm wondering if I need an AfterEvent on the
Employee Name fields:
=DLookUp("[Agent ID]","[C3 Employee Master]","[Name] = Forms![Employee Name]")
Question #2 Add a Search function.
If any one of the following 3 fields are entered in the form, display the
associated records from one of 3 tables:
Tables:
C3 Employee Master.Name
QA Master.Manager
Call Form Table: Values input on form are written to this table
Form Name = "Name" & is a look-up from the C3 Employee Master.name table
Form Name = "QA Name" & is a look-up from the QA Master.Manager table
Form Name = Ref No & is a user input
re-worked, but she has to get a database released within a few days. Neither
one of us has used Access in recently, so any help you can give would be
great. I've been searching for a response, but can't seem to get any non-VBA
solutions to work. We plan to attend training, but are in emergency mode
now. Two question.
Question #1 Display Employee Number when Employee Name is selected
Table:
C3 Employee Master.Name (form control Name is Employee Name & is a combo box)
C3 Employee Master.Agent_ID (form Name is ID# & is a textbox)
Form Name = "Name" & is a look-up from the C3 Employee Master.name table
Form Name = "ID #" & is a look-up from the same table [Agent_ID]
I tried to accomplish this by entering this in the Control Source for the
Employee Number field but I'm wondering if I need an AfterEvent on the
Employee Name fields:
=DLookUp("[Agent ID]","[C3 Employee Master]","[Name] = Forms![Employee Name]")
Question #2 Add a Search function.
If any one of the following 3 fields are entered in the form, display the
associated records from one of 3 tables:
Tables:
C3 Employee Master.Name
QA Master.Manager
Call Form Table: Values input on form are written to this table
Form Name = "Name" & is a look-up from the C3 Employee Master.name table
Form Name = "QA Name" & is a look-up from the QA Master.Manager table
Form Name = Ref No & is a user input