Solved

Set ToggleButton state using VBA code?

Posted on 1998-09-05
1
2,817 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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