Command Button Click Event Doesn't Fire

M

Michael Williamson

I have customized a post form extensively and have now decided that it
needs a few a buttons. I added a new command button and wrote a
handler for it, but the event never fires. I have one custom activex
control on the form, but it doesn't seem to be the problem because if
I delete it the event still doesn't fire. The command button is not
bound to a field or anything like. In fact, just draging a new
command button on does the same thing. Any ideas what I've done to
make this button stop working?

Thanks for your help.

-- Michael.
 
C

Chrisy H

Michael,
You will need to write some code to run this button. Open
the code window:

Sub Command1_Click()
.....Code here
End Sub

Hope this is of help.
 
M

Michael Williamson

I did :)

I don't know exactly what caused it, but when I copied all of the items
and code from my customized form to a new form it works. It turned out
it wasn't running any of my events.
 

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