>Since you're calling UPLOAD as a procedure, lnLogFile is being passed by reference. Aside from checking to see if UPLOAD closes the file, you might also check to see if it changes the value of the parameter.
I like that. Good call!
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao