Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Passing in ASP

Status
Not open for further replies.

bmd2k3

Technical User
Feb 22, 2003
54
US
I'm having some problems passing parameter values in ASP.

This is just a simple example that I created to try and test it out....the first form Posts to the 2nd.

Guts of form #1 -
<form method=&quot;POST&quot; action=&quot;transact-BMD.asp&quot; enctype=&quot;multipart/form-data&quot;>
<p><input type=&quot;text&quot; name=&quot;frmHowListingID&quot; size=&quot;5&quot;></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><input type=&quot;submit&quot; value=&quot;Submit&quot;></p>
</form>

Guts of ASP #2
<%
Dim ListingNumber

ListingNumber = Request.Form (&quot;frmHowListingID&quot;)
ListingNumber = CInt(ListingNumber)

response.write(&quot;ListingNumber=&quot;)
response.write(ListingNumber)

%>


I'm inputting an integer in the first form.....and all that ever seems to print out is the value ZERO.

-Brian
 
Try asking in the ASP forum : forum333

Good Luck §;O)


Jakob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top