bengaltgrs
11-06-2007, 07:07 PM
I'm using the FileUp method to upload files from a form, and there must be a way to determine the name of the current input field in question, but that's what I don't know how to get. The file upload method is as follows:
for each item in UpObj.form
If IsObject(UpObj.form(item)) then
If UpObj.form(item).IsEmpty Then
Else
'upload file here
I was trying to find the name of the field with "UpObj.Form(item).Name", but that results in an error.
for each item in UpObj.form
If IsObject(UpObj.form(item)) then
If UpObj.form(item).IsEmpty Then
Else
'upload file here
I was trying to find the name of the field with "UpObj.Form(item).Name", but that results in an error.