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)
 
Back
Top