By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,506 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

How to populate fields based on the results of another field?

P: 6

I am a newbie at this so please forgive my ignorance.

What I have is an Accounts Table with Account #, Company Name, and logistic info (Address, Phone). I have a few forms that I want to program in such a way that when user enters an Account # on the form, after update I want the Company information to feed from the Accounts Table into the field on the form. Please give me some idea how to do this? Or a step in the right direction.

Oct 3 '06 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,418

I suppose that the choice of your Account will be done from a Combo box i wouldn't it?

So in your combo box in the record source, press the bouton with ... near the field

The query builder appears. Choose your Account# and add the needed column, ie Company

Exit the query builder confirming the update of your property

In the property Column Count - 2

Then you need to create an after Update event procedure:


And this is all..

Best regards!
Oct 8 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.