Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I modify the lookup wizard function?

Status
Not open for further replies.

supportguy21

Technical User
Dec 15, 2002
13
CA
Background:
I have created a Form (related table: SupportIssueLog) for support staff to enter trouble ticket information. One of the fields in this form is "Employee Name". In order to make this form more "user friendly" and to avoid misspellings, I wanted the support user to select the customer name from a (drop-down) list of names rather than typing them in.

What I did:
So I created another table called EmployeeList that contains the names and phone numbers of everyone in the company. I used the Lookup Wizard function on the "Employee Name" field so now, when the Support user clicks that field on the form, a list of company employees appears and the Support user can select the appropriate name.

The problem:
The Lookup Wizard only seems to work with a single field - I want to return info for multiple fields.
Specifically, I would also like to auto-populate another related field in the form called "Phone No.". So - when the Support User selects a name from the drop-down, both the "Employee Name" and "Phone No." fields in the form are auto-populated with the correct info (based on the EmployeeList table.).
 
Hi,

Add a combo, using the wizard - it'll let you add multiple fields.

Regards,

Darrylle


"Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
 
Wow, a question I know the answer to!! You can add code on the after update event for the employee name that will auto populate the other fields you referred to, then your list with the employee name only has to be one field.

Punderful
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top