Solved

Set ToggleButton state using VBA code?

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

685 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