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 ...
Get Access 2002 Programming by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.