Is there a way to set multiple variables to nothing on one line?
eg. Set dbase, recset, tbldef = nothing
?
Printable View
Is there a way to set multiple variables to nothing on one line?
eg. Set dbase, recset, tbldef = nothing
?
Nope... :) One at the time.
if they're all the same object type, then yes, using the "For Every [object] in Me proceedure. However, that will set EVERY object of that type to nothing. But unless you have dozens and dozens of objects to set as nothing, it's probably easier to just set them one by one ;D