Hello
I'm trying to add parameters to control the size of the pop up window. Everything works fine until I add the parameters...then I get invalid argument errors...I've tried different variation of syntax and still it doesn't work. Any suggestions would be greatly appreciated!
Thank you!
Function fFormatPicture(strInPicture)
dim formPic
formPic = ""
if (Len(strInPicture) > 0) then
formPic = "<input type=""button"" value=""View"
formPic = formPic & """ ONCLICK=""window.open(' formPic = formPic & strInPicture
formPic = formPic & "','toolbar=no, width=300'"
formPic = formPic & """>"
end if
fFormatPicture = formPic
End Function
I'm trying to add parameters to control the size of the pop up window. Everything works fine until I add the parameters...then I get invalid argument errors...I've tried different variation of syntax and still it doesn't work. Any suggestions would be greatly appreciated!
Thank you!
Function fFormatPicture(strInPicture)
dim formPic
formPic = ""
if (Len(strInPicture) > 0) then
formPic = "<input type=""button"" value=""View"
formPic = formPic & """ ONCLICK=""window.open(' formPic = formPic & strInPicture
formPic = formPic & "','toolbar=no, width=300'"
formPic = formPic & """>"
end if
fFormatPicture = formPic
End Function