Solved by beaupreda in post #4 
              
              
                I think both can be correct since they will achieve the same results, but I would prefer the second approach.  I do not like to use global variables and they are generally seen as bad practice. Maybe someone more knowledgeable will chime in and give you a different answer, that’s just my two cents