Were it I, I would probably create an input field and a quick display function. We'll call it display. It simply sets the value of the input field to whatever was passed as a parameter. Call the function on every pass of the loop.
--Ben Dom b. van kerckhoven wrote: > I am creating a large coldfusion database-script which deletes thousands of > rows from a table. > > As this script takes a while, I would like to give some visual feedback to > the user runnig the script. > > My idea is to temporarly show the IDs that are being deleted while I am > looping the array. > > <cfloop from="1" to="#ArrayLen(aOrphan)#" index="i"> > <cfquery [...]> > DELETE > FROM table > WHERE ID = '#aOrphan[i]#' > </cfquery> > </cfloop> > > Using CFFLUSH, I know how to display the ids incrementally, but this gives a > list which is much too long. > > Is there a way to show just temporary results? (in this case: only the ID > which is actually BEING deleted) > > any help is appreciated... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271802 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

