Solved

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

Posted on 2002-04-01
3
200 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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…
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…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

829 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