Compile

The following commands are available in the Compile menu in the Visual Basic dialog box:

Command Description
Compile Compiles the contents of the edit window. Compilation errors appear in the dialog box which contains information about the errors. If compilation is successful, Run is activated.
Run The VBA function for the event is called.

Note If no function is named in the Event details dialog box, nothing happens when you select Run.

Event handlers with parameters report execution errors when you try to execute them. This is because they must be called and receive proper parameters from other ReadSoft Invoices modules. Since ReadSoft Invoices Manager does not provide any parameters, and this causes run-time errors.