CompRecID is autonumbering (long integer)
These are the form input types:
<FORM METHOD="Post" ACTION="../asp/info_form_handler.asp" name="General_Information">
<input type="hidden" name="CompRecID" value="<%=CompRecID%>">
<input type="hidden" name="Firstname" value="<%=Firstname%>">
<input type="hidden" name="Middleinitial" value="<%=Middleinitial%>">
<input type="hidden" name="Lastname" value="<%=Lastname%>">
<input type="hidden" name="Title" value="<%=Title%>">
<input type="hidden" name="Position" value="<%=Position%>">
<input type="hidden" name="Phone1" value="<%=Phone1%>">
<input type="hidden" name="Fax1" value="<%=Fax1%>">
<input type="hidden" name="Email_sender" value="<%=Email_sender%>">
<input type="hidden" name="Question" value="<%=Question%>">
<input type="hidden" name="Institute" value="<%=Institute%>">
<input type="hidden" name="Address" value="<%=Address%>">
<input type="hidden" name="ZIPcode1" value="<%=ZIPcode1%>">
<input type="hidden" name="City" value="<%=City%>">
<input type="hidden" name="State" value="<%=State%>">
<input type="hidden" name="POBox" value="<%=POBox%>">
<input type="hidden" name="ZIPcode2" value="<%=ZIPcode2%>">
<input type="hidden" name="Country" value="<%=Country%>">
<input type="hidden" name="Phone2" value="<%=Phone2%>">
<input type="hidden" name="Fax2" value="<%=Fax2%>">
<input type="hidden" name="Email2" value="<%=Email2%>">
<input type="hidden" name="URL" value="<%=URL%>">
<INPUT TYPE=Submit NAME="Submit" value="Submit this information">
</FORM>
Quote:
Originally posted by bciarcia
what datatype is CompRecID in the database?
also, try saying this;
iRecId = Request.QueryString("CompRecID")
Make sure the form variable you are passing from the form is spelled exactly the same way that you are spelling it on the calling page.
|