Solved

OnClick event change Control Source

Posted on 2004-09-22
2
349 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ms access filter query with empty combobox 5 29
Report with several filters - Issue with query? 3 23
Binding recordsets to a form 6 26
Dcount help 2 16
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
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…

777 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