Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

after disable on check how do you enable after double click

Posted on 2012-12-23
1
Medium Priority
?
487 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 1600 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

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.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 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