 <form name="findPermit" action="Permit.cfm" method="post">
 	<input type="hidden" name="Action" value="search">
 
+
+	<label for="permit_num">Permit Identifier/Number</label>
+	<input type="text" name="permit_num">
+
 	<label for="IssuedByAgent">Issued By</label>
 	<input type="text" name="IssuedByAgent">
 

		</cfloop>
	</select>

	<label for="permit_num">Permit Identifier</label>
	<input type="text" name="permit_num">

	<label for="permit_remarks">Remarks</label>
	<input type="text" name="permit_remarks">

<!--------------------------------------------------------------------------------------------------->
<cfif #Action# is "deletePermit">
<cfoutput>
	<cftransaction>
		<cfquery name="deletePermitA" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			delete from permit_agent WHERE permit_id = #permit_id#
		</cfquery>
		<cfquery name="deletePermitt" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			delete from permit_type WHERE permit_id = #permit_id#
		</cfquery>
		<cfquery name="deletePermit" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			DELETE FROM permit WHERE permit_id = #permit_id#
		</cfquery>
	</cftransaction>

	<cflocation url="Permit.cfm" addtoken="false">
  </cfoutput>
