<!---
This file is Copyright © 1998-2009 by Home Care Business Services. This work may not be reproduced, in whole or in part, 
using any medium, including, but not limited to, electronic transmission, CD-ROM or published in print, without the express 
permission of Home Care Business Services.

$Revision: 1.2 $
$Id: delete_assessments.cfm,v 1.2 2009/02/16 20:14:41 arlen Exp $
$Date: 2009/02/16 20:14:41 $
--->
<!--- Process is used to "delete" assessments from the Download Assessments page --->
<!--- Records are not deleted, but the Deleted field is set to 1 --->
<!--- So they can be restored by an Administrator --->

<cfif session.AuthLvl lt 3>
 <cfquery  datasource="#Application.DataSrc#" name="DeleteAssessment">
	UPDATE #Request.prefix_db_agency#.Assessment_New
	SET Deleted = 1
	WHERE Assessment_ID = #URL.ID#
 </cfquery>
</cfif>
<cflocation url="/agencyadmin/index.cfm?page=agency&cat=OASISManagement&rpt=downloadassessments" addtoken="no">
