I have multiple fileupload controls on my form and I want to get the attached file name from the first one. Is there anyway that I can do this?
I normally use this code, but this gets all the attachments:
Set item = webdoc.GetFirstItem( "$File" )
If Not item Is Nothing Then
filename = item.values(0)
End If
Please Help!!! Thanks in advance
I normally use this code, but this gets all the attachments:
Set item = webdoc.GetFirstItem( "$File" )
If Not item Is Nothing Then
filename = item.values(0)
End If
Please Help!!! Thanks in advance