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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

type number and name appears

Status
Not open for further replies.

realflava

Technical User
Apr 11, 2004
16
DE
I have 2 tables - Customer and Visit Details

The Visit Details has two fields related to the tblcustomer:

Cust No.
Name

What I'm trying to implement is: when the user types in the cust no. the name should appear.

Any ideas how I can do this?

Thanks
 
Try using the ComboBox control Wizard. This Wizard will walk you through one of the options where as you enter the name or pick from the box then the record is found and the fields on the form are automatically populated with the data from that record.

I think this will work well for your problem.

Bob Scriver
[blue]Want the best answers? See FAQ181-2886[/blue]


 
hi

one small point:

you say

"The Visit Details has two fields related to the tblcustomer:

Cust No.
Name "

presumably the (Customer) Name is in the Cutomer table, why repeat it in the VisitDetails Table?

oops another point, do not use reserved words (such as Name) as column names, it will end in tears

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Thanks for that Bob! I feel soo dumb sometimes..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top