I want to have 2 forms that submit to the same ASP document (one is for adding records and one is for modifying). I want to do this because MOST but not ALL of the code will be the same for both adding and modifying a record, but I don't know how to determine which form called the ASP form.

How can I determine which form called the ASP form? In other words, in the Modify form I have the code

<form action="DailyReportConfirmation.asp" method="post" id="frmSubmit">

How can I determine that the MODIFY form and not the ADD form called the ASP page?

Thanks

Andrew