M
Motty
Hi
I'm trying to create a page that I can upload multiple files to the
server and log the meta-data into the Sql database.
I have two parts working find but I'm missing one part.
To start I'm using SoftArtisans upload program to grab all the
elements I need.
I have the first page/form that has a DRW retrieving records from the
database and an input field within the DRW that allows the user to add
data to each line.
Form two loops : for i = 1 to request.form("v1").count and posts the
values to the database.
All works fine.
Now I want to replace the input field V1 (text box) with a file upload
box and browse and I call it V1 too (removing the text box).
It does not behave the same once a post to the second form and try
looping:
for i = 1 to request.form("v1").count
if request.form("v1")(i) <> "" then
rsq = "Update ir_inspect set value=" & "'" & request.form("v1")(i) &
"'" & " where mainkey=" & request("mainkey")(i)
response.write rsq
Conn.execute(rsq)
end if
next
I get nothing.
Is there a way I can grab the file upload (i) the same way I can the
text box?
Thanks
Motty
I'm trying to create a page that I can upload multiple files to the
server and log the meta-data into the Sql database.
I have two parts working find but I'm missing one part.
To start I'm using SoftArtisans upload program to grab all the
elements I need.
I have the first page/form that has a DRW retrieving records from the
database and an input field within the DRW that allows the user to add
data to each line.
Form two loops : for i = 1 to request.form("v1").count and posts the
values to the database.
All works fine.
Now I want to replace the input field V1 (text box) with a file upload
box and browse and I call it V1 too (removing the text box).
It does not behave the same once a post to the second form and try
looping:
for i = 1 to request.form("v1").count
if request.form("v1")(i) <> "" then
rsq = "Update ir_inspect set value=" & "'" & request.form("v1")(i) &
"'" & " where mainkey=" & request("mainkey")(i)
response.write rsq
Conn.execute(rsq)
end if
next
I get nothing.
Is there a way I can grab the file upload (i) the same way I can the
text box?
Thanks
Motty