has anyone used CFX_Wait before? i'm tryin to hold the page for say 100
seconds before the data in the table gets deleted.
<!--- loading of crystal report --->
<cflocation url = "">
<!--- to hold the page processing... to 100 seconds before the query to delete
the data gets executed --->
<cfloop from="1" to="50" index="counter">
<CFX_WAIT>
</cfloop>
<cfquery >
DELETE FROM TABLE
</cfquery>
Is this way of doing correct ? Actually i needed to load the report .. AFTER
loading the crystal i will need to delete the data from the table. However there are
no return parameters from crystal that allows us to know when the report was loaded.
Thus i use a cfloop to hold the processing to hundreds seconds later then run the
delete request. However, no matter how long the duration was, the table was always
deleted before the report was loaded. Does anyone knows how i should go about handling
it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4