Solved

after disable on check how do you enable after double click

Posted on 2012-12-23
1
481 Views
Last Modified: 2012-12-23
I want to disable a field when its clicked but if they make a mistake i want to be able to double clicl to enable but it doesnt work. what do i need to do to make this haappen ? I also want to make it turn a colorvwhen its disabled where would i do that in the code? herenis what i have so far.


Private Sub Induction_Click()
Me.Induction.Enabled = False
background color= red
End Sub

Private Sub Induction_DblClick(Cancel As Integer)
Me.Induction.Enabled = True
End Sub
bingo.accdb
0
Comment
Question by:gigifarrow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
Flyster earned 400 total points
ID: 38717774
I added a command button to reset the induction check box. Once you disable it, double-clicking it will not work.

Flyster
bingo.accdb
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Suggested Courses

626 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