Testing Quotes and Pounds
The moment of truth comes when you apply what you have learned. You can test variables and expressions in a standard module using the immediate window before you insert them into a class module. If you want to test variables in event procedures in class modules, you set breakpoints so that when you run the form or report, you have a chance to examine your code from where the breakpoints are set in the procedure. In contrast, in the standard module, you can test the variables by either using Print.Debug statements to view the expressions in the immediate window or by setting breakpoints and watches to view them. Either way, you can view the expressions without ever opening the form or report to which you eventually copy ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access