Andrewthebeginner
Programmer
have this FSO script that has a dynamic name in the link to see if the
file exists:
Where it says DYNAMIC LINK, I need to fit in
& (form.Fields.Item("ProjectID".Value) &
I don' know if that is correct though.
which was: <%=(form.Fields.Item("ProjectID".Value)%>
Thanks alot for any help or clues.
- Andrew
file exists:
Code:
<%
Set fsoObject = CreateObject("Scripting.FileSystemObject")
if fsoObject.FileExists(Server.Mappath("scans\[B]*DYNAMIC
LINK*[/B]\specs\prebidform.pdf")) Then
Response.Write("<script language=""Javascript"" type=""text/javascript"">" &
vbcrlf)
Response.Write("function beginDownload() {" & vbcrlf)
Response.Write(" newlocation = ""\scans\[B]*DYNAMIC
LINK*[/B]\specs\prebidform.pdf"")) ;" & vbcrlf)
......more and more....
Else
Response.Write("<script language=""Javascript"">" & vbcrlf)
Response.Write("alert('Forms not Provided by Tendering Authority')" &
vbcrlf)
Response.Write("</script>" & vbcrlf)
End If
%>
Where it says DYNAMIC LINK, I need to fit in
& (form.Fields.Item("ProjectID".Value) &
I don' know if that is correct though.
which was: <%=(form.Fields.Item("ProjectID".Value)%>
Thanks alot for any help or clues.
- Andrew