Solved

Set ToggleButton state using VBA code?

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

706 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

21 Experts available now in Live!

Get 1:1 Help Now