Toggle button in Microsoft Access form

10 pts.
Tags:
Database programming
Microsoft Access
Microsoft Access forms
Hi, in an access form I have included a Toggle button which when "on click" imports an excel spreadsheet. What I want is to block this toggle button after clicking it the first time so if someone clicks on it again, it won't import the same database. Thanks
ASKED: June 8, 2009  10:20 PM
UPDATED: June 25, 2009  3:52 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can turn the toggle button invisible by setting the focus somewhere else (Combo0.SetFocus) then making the toggle button vanish (Toggle0.Visible = False) in the OnClick procedure. The toggle button is still there but you can’t see it.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following