Calling Form Event

  • Thread starter Thread starter JamesJ
  • Start date Start date
J

JamesJ

I'm trying to call Form_BeforeUpdate event from the On Click
of a command button but I keep getting: Argument not optional.
Any help will be appreciated.
 
JamesJ said:
I'm trying to call Form_BeforeUpdate event from the On Click
of a command button but I keep getting: Argument not optional.
Any help will be appreciated.

If you look at BeforeUpdate there is an argument for the Cancel. You need to
supply a zero for that when you call it.

Call Form_BeforeUpdate(0)
 

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

Back
Top