run a button click event

D

Dan

I want to run the same block of code that runs when I
click my button thats named "Command33" when there is an
error. I really want this to only run it one additional
time so it doesn't get stuck in a loop.
 
M

Mike Painter

Dan said:
I want to run the same block of code that runs when I
click my button thats named "Command33" when there is an
error. I really want this to only run it one additional
time so it doesn't get stuck in a loop.

If it runs once when you click it the first time it will only run once when
you click it the second time.
If not you will probably want to use onerror to trap and possibly offer a
solution to the problem.
 

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