Results 1 to 3 of 3

Thread: General Question

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2004
    Posts
    35

    Lightbulb General Question

    Is there a way to set multiple variables to nothing on one line?

    eg. Set dbase, recset, tbldef = nothing

    ?

  2. #2

  3. #3
    Hyperactive Member BrendanDavis's Avatar
    Join Date
    Oct 2006
    Location
    Florida
    Posts
    492

    Re: General Question

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width