kosmokramer
Programmer
I am trying to test the variables being sent to a sub, so I am only getting it to print out the variables once they are sent to the sub. The problem is that I am getting a type mismatch error in the string I am writing out that calls the sub
Here's the string:
and here's the sub:
Any ideas? By the way, Session.Contents(i) is the name of a movie and theQuant is the quantity of movies. Also, the table tags you see are right...I mean to have a </td> tag at the beginning of this string. Thanks ahead of time!
Here's the string:
Code:
Response.Write ("</td><td>" & openConnection("'" & Session.Contents(i) & "'",theQuant) & "</td><td><a href='procPage.asp?movieName=" & Session.Contents(i) & "' class='descriptionBlock'><font size=-1>Delete Movie?</font></a></td></tr>")
and here's the sub:
Code:
Sub openConnection(theMovie, movieQuantity)
Response.Write ("theMovie: " & theMovie & " quantity: " & movieQuantity)
End Sub
Any ideas? By the way, Session.Contents(i) is the name of a movie and theQuant is the quantity of movies. Also, the table tags you see are right...I mean to have a </td> tag at the beginning of this string. Thanks ahead of time!