Solved

OnClick event change Control Source

Posted on 2004-09-22
2
357 Views
Last Modified: 2012-05-05
Hello Experts. Can I use an OnClick event on, say a command button, to change the Control Source of a Text Field? If so, how can I do that?
Many kind thanks in advance,
John
0
Comment
Question by:John Account
2 Comments
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 125 total points
ID: 12129100
Just literally change the ControlSource property:

Me!MyTextBox.ControlSource="SomeField"
0
 

Author Comment

by:John Account
ID: 12129271
Hmmmmnnn...wow, that was easy enough! By that rationale, Shane, I've got another question to ask you...at:
http://www.experts-exchange.com/Databases/MS_Access/Q_21141642.html

Many thanks to you,
John
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

861 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