?
Solved

Disable button

Posted on 2011-10-29
2
Medium Priority
?
212 Views
Last Modified: 2012-06-22
Hi there,
How can I disable a button for 30 minutes once it has been clicked?
I want the user to be able to click a button ( It runs code, adds record etc), I then want to deactivate the button for a period of 30 minutes. Once the 30 minutes are up, I need to re-activate the button.
I presume it's with the timer event, but I have tried for the past three hours to no avail.
As always, your time and advice is much appreciated.
Thanks
0
Comment
Question by:Stephen Byrom
2 Comments
 
LVL 15

Accepted Solution

by:
Eyal earned 2000 total points
ID: 37052016
I would save the last time he pressed in work table and query this table once a minute
0
 
LVL 1

Author Closing Comment

by:Stephen Byrom
ID: 37052308
Thanks
So simple, I didn't think of that.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Suggested Courses

840 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