Solved

Set ToggleButton state using VBA code?

Posted on 1998-09-05
1
2,801 Views
Last Modified: 2008-02-01
Is there a way to set the up/down state of an unbound Toggle Button using VBA CODE?
0
Comment
Question by:Monroe406
1 Comment
 
LVL 8

Accepted Solution

by:
Helicopter earned 50 total points
ID: 1961317
You can use me.tog1=true [or false] in code, but it will have to be as a result of an event or condition e.g.

in the afterupdate event of a textbox
If Me.mytext > 10 Then Me.tog1 = True Else Me.tog1 = False
0

Featured Post

Backup Your Microsoft Windows Server®

Backup 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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
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.

895 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now