Solved

MS Access 2003 bind control to anothe control

Posted on 2012-12-20
4
401 Views
Last Modified: 2012-12-20
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)
0
Comment
Question by:lrbrister
  • 2
4 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 38710921
Have you tried:

=[cmbContacts].[column](2) & " " & [cmbContacts].[column](3)

or something like that?
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 38710924
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..
0
 

Author Closing Comment

by:lrbrister
ID: 38710946
Perfect. Thanks
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38711026
glad to help.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Combobox row source 2 21
Need to Obtain or Remove Password Protection From an Excel 2000 Workbook 6 57
User Level Security 6 38
Install both Office 2010 and 2013 4 37
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question