Perform a query After Update

T

Trauton

Hi,

I am creating a form the will have these controls: CustomerCode,
CustomerName and CustomerAddress. When a new record is created we will type
in CustomerCode ( which will be stored in tblA), after I tab away from the
CustomerCode Control, I want the Customer Name and CustomerAddress fields the
form to be populated with the information from tblB using the information
from the CustomerCode control that I just typed. tblB contains the
CustomerCode, CustomerName and CustomerAddress fields. I just want to display
them in this form if a match is found.

I think I need to do this with an After Update event in the CustomerCode
field, but I would appreciate helping figuring out how.

Thank you!!

Trauton
 
T

Trauton

Thank you Ofer. I appreciated the duplicate links also since I had been
looking for a way to let the users know that they are entering a dupplicate
record (before they have typed the whole information), as it currently is
with my form now.
 
T

Trauton

Thank you Steve! Very clear examples covering several ways to do it. I have
bookmarked it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top