Picklists

I can’t seem to figure out how to pull in two fields into a form using a picklist. I want the user to be able to click on the Employee Name field and select the employee from the employee view. I want that to pull in the employee name as well as the employee number off that view into the new form.

Would on of you mind posting some example code?