Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey, i'm trying to code some VBA for a database i'm working on.
Here's the problem:

I've got a combo box, which when selected will auto fill in the rest of the records following it.

Just need a nudge in the right direction!


Details:
Combo box: CustomerID

Records which need to auto fill:
Forename
Surname
Address
Postcode
Telephone
Fax
Email



Thanks.
-Sonos
Posted
Comments
Wild-Programmer 25-May-11 9:26am    
So whats the issue, pass that selected value of combo to query ms access table, fetch the records and show it in the textboxes.

1 solution

What you are after is MS Access's Lookup-Tables.

Please use the following URL's to find some information about that:

  1. http://www.trigonblue.com/AccessLookup.htm[^]
  2. http://www.articlesbase.com/databases-articles/using-a-lookup-table-in-microsoft-access-979261.html[^]
  3. http://www.ehow.com/how_12375_look-values-one.html[^]
  4. http://www.fabalou.com/Access/General/lookup_tables_lut.asp[^]


I hope this nudges you in the right direction.

-MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900