August 2010
Intermediate to advanced
1500 pages
54h 49m
English
The following sections show the syntax of the statements you can use to define constants and variables in your modules and procedures.
Use a Const statement to define a constant.
[Public | Private] Const {constantname [As datatype] = <const expression>},...
Include the Public keyword in the Declarations section of a standard module to define a constant that is available to all procedures in all modules in your database. Include the Private keyword to declare constants that are available only within the module where the declaration is made. Constants are private by default, and a constant defined within a procedure is always private. You cannot define a Public constant in a class module. ...
Read now
Unlock full access