If you want to avoid "Out of memory errors" later.........by (Login burger2227)
You should use "real" SUB routines. Look in the Edit Menu and make up a name. You can pass values to them or DIM SHARED all of the variables used in each. QB will make the DECLARE statement once a SUB is called and you save the module. Paste your module sub code into the new SUB screen. The View Menu lists your QB made Subs.
SUB calls leave the main module and use their own memory until exited. I have been able to create BAS modules over 170K. They will not compile however. Most I ever got to compile was a BAS module size of 100K.
If you need help, post back.
|Response Title||Author and Date|
|yes, i have tons of subs||on Jan 26|
|* Just use DIM SHARED if you want. COMMON SHARED is for linked modules.||on Jan 26|