Hi, I just started to get high on ASP and need to do a file-upload and save the filename to a database..<BR>I&#039m using the AspSmartUpload Component for this job.<BR><BR>I&#039m using a "for each" loop to Dim the name and set the value of the form-elements like this<BR><BR>For each item In mySmartUpload.Form<BR>For each value In mySmartUpload.Form(item)<BR>Response.Write(item & " = " & value & "<BR>")<BR>Dim item<BR>item = value <BR>Next<BR>Next<BR><BR>then i want to re-use this value to insert it into my DB<BR><BR>Now here&#039s my problem :<BR>Outside the "For each" loop it errs with "Variable not defined".<BR><BR>What am I doing wrong? <BR>Should I Make those vars Public?<BR>If so.... how should I do that?<BR><BR>Thanx <BR><BR>Joris van Lier (whizzrd@iname.com)<BR>