I am attemping to execute a second ASP page from a ASP page. What is happening is that rather than transfer control to the new page the program appears to be clearing the old page and then attempting to loop back which of course results in an error.
AS a NEWIE to ASP programming I think I want to use the SERVER.TRANSFER code as I do not wish to come back to the original page. I have tried both of the lines of code shown below, Neither of them work.
<INPUT TYPE = "Submit" NAME = "Update" value = "Update Record " OnClick = " <%Server.Execute(UpdateGenericRecord.asp)%>" > <BR><P>
<INPUT TYPE = "Submit" NAME = "Update" value = "Update Record" OnClick = <%Server.Transfer("UpdateGenericRecord.asp"
%> > <BR><P>
Thanks for any help you can give.
SmokeyJoe
AS a NEWIE to ASP programming I think I want to use the SERVER.TRANSFER code as I do not wish to come back to the original page. I have tried both of the lines of code shown below, Neither of them work.
<INPUT TYPE = "Submit" NAME = "Update" value = "Update Record " OnClick = " <%Server.Execute(UpdateGenericRecord.asp)%>" > <BR><P>
<INPUT TYPE = "Submit" NAME = "Update" value = "Update Record" OnClick = <%Server.Transfer("UpdateGenericRecord.asp"
Thanks for any help you can give.
SmokeyJoe