About
Pricing
Community
Teams
Start Free Trial
Log in
Larry Brister
asked on
12/20/2012
MS Access 2003 bind control to anothe control
I have a textbox that's bound to the selected item (column 2) of a combo box.
Is there any way to string together several columns?
I currently have this.
=[cmbContacts].[column](2)
Microsoft Access
Microsoft Development
Microsoft Applications
4
1
Last Comment
Dale Fye
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dale Fye
12/20/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jim Horn
12/20/2012
Explain in more detail what you mean by 'several columns'.
You can have other text boxes, where in the AfterUpdate event of the combo box you have VBA code that goes something like this:
With me
.txt_name = Me.cmbContacts.column(0)
.txt_address = Me.cmbContacts.column(1)
.txt_city = Me.cmbContacts.column(2)
end with
you get the idea..
Larry Brister
12/20/2012
ASKER
Perfect. Thanks
Dale Fye
12/20/2012
glad to help.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
You can have other text boxes, where in the AfterUpdate event of the combo box you have VBA code that goes something like this:
With me
.txt_name = Me.cmbContacts.column(0)
.txt_address = Me.cmbContacts.column(1)
.txt_city = Me.cmbContacts.column(2)
end with
you get the idea..