[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

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

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
MrCrawfish
Asked:
MrCrawfish
1 Solution
 
VolibrawlCommented:
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
 
Mach1proCommented:
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
 
MrCrawfishAuthor Commented:
Thanks volibrawl... your are an EXPERT...
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now