Event btnStart.OnClickEvent: String
Description
Specifies the name of the procedure which is evaluated after clicking the Start button.
Code Snippet
Use the btnStart Procedure to create a reference to the Start button of the Process form:
Set
btnStart = frmProcess.btnStart
The Start button must be linked to the current script:
btnStart.Script = Script
Link the OnClick event to a script procedure:
btnStart.OnClickEvent =
"OnClickButton"
Implement the OnClickButton event handler. Use the btnStart.OldClick method to start the original process (execute the stored procedure set by the StoredProcName Property):
Sub
OnClickButton
Rem You can run your code before, after or instead of the original processing
Rem start the original process
btnStart.OldClick
Rem after the process, write optional code
End Sub