I have the following code on an action page that is being called from a
delete reference on the main page, however I want it so that when the
click the delete, it ask's them are they sure , absolutely sure, and
then delete the record. Right now if I delete, it just goes, and
deletes. I know this is'nt Rocket science but I just dont remember
how the coding goes.
TIA
Michael
<cfquery name="qry_delete_interview" datasource="Interview" username=""
password="" >
DELETE FROM interview
WHERE ID = #URL.DID#
</cfquery>
<CFLOCATION URL="intvlist.cfm">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists