Buttons on my form becomes unavailable.

M

Monré

I hope someone can help me. I create buttons on a form. I
use simple VB-code in the "Events". The form works well.
As I am creating more code, the form opens fine but I
receive the following message whenever I click on any
button created earlier (The form worked fine earlier as
well): "The expression On Click entered as the event
property setting produced the following error: Permission
denied..."

This is not the first time this happens. It seems like a
serious bug in Access. How can I fix this problem since I
have re-create the whole form all over again.
 
K

Ken Snell

I may be misunderstanding, but you do not put VBA code in the box next to
the Event in the properties window. You must see [Event Procedure] in that
box, and then your code goes into a module that is behind the form (using
the Visual Basic Editor). What are you putting in the box next to "On
Click"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top