Solved

How do i create a checkbox on a Access Form that is not bound to the database.

Posted on 2002-04-01
3
196 Views
Last Modified: 2012-06-27
How do i create a checkbox on a Access Form that is not bound to the database. All i need is some code to run when the box is checked or unchecked
0
Comment
Question by:MrCrawfish
3 Comments
 
LVL 9

Accepted Solution

by:
Volibrawl earned 100 total points
ID: 6911558
Just pcik it from the tools and put it there.  It does not have to be bound.

Then you can refer to it Forms!MyForm.CheckBox1


If Forms!MyForm.CheckBox1 = -1 then
do something
Endif

0
 
LVL 6

Expert Comment

by:Mach1pro
ID: 6911638
If you are using a continuous form, you will need to add the Checkbox as a YesNo field in your underlying table. Otherwise a selection to one checkbox changes the selection for the checkbox on all records.
0
 

Author Comment

by:MrCrawfish
ID: 6911666
Thanks volibrawl... your are an EXPERT...
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.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Familiarize people with the process of utilizing SQL Server functions 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 Ac…
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…

929 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

15 Experts available now in Live!

Get 1:1 Help Now