View Full Version : FileUp name

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
'upload file here

I was trying to find the name of the field with "UpObj.Form(item).Name", but that results in an error.

11-09-2007, 06:48 PM
What's the error?
And try using UpObj.Fields(Field_Name) instaed.