macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: Recursively Delete Records

Subject: Re: Recursively Delete Records
From: "Dan Bracuk"
Date: Thu, 21 Feb 2008 14:46:06 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion

something like this

 YourArray[1] = the id you want to delete;
 CarryOn = true;

 cfloop condition = CarryOn is true
 run query
 if recordcount gt 0
 add element to array
 else
 CarryOn = false

 You should be able to figure out the rest.


<Prev in Thread] Current Thread [Next in Thread>