customer number lookup

customer number lookup

Hi, i am trying to get my customer details to show up on a repair form, I have created the repair form, and the customer form I want to be able to type in a customer number and all the details will appear in the repair form based on the customer number how can I do this?