Thanks, Chuck!  I'll give that a go.

Rick

> -----Original Message-----
> From: Weidler, Wilfred C. [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2008 3:50 PM
> To: CF-Talk
> Subject: RE: Can I Use This CFScript Like This?
> 
> Rick,
> 
> That code is ran in a <cfscript> block.
> 
> You only have to create the object one.  So the code would look
> something like this.
> 
> <cfscript>
>       go_to = createObject("java", "java.lang.Thread");
> </cfscript>
> Or if you prefer tags....
> <cfset go_to = createObject("java", "java.lang.Thread")>
> 
> <cfloop from="1" to="1000">
> 
> <cfif cfthread.2_hmls_offices.status is not "completed">
>       <cfscript>
>               go_to.sleep(5000); //sleep time in milliseconds
>       </cfscript>
>       Or if you prefer tags....
>       <cfset go_to.sleep(5000)>
> <cfelse>
> 
> Run queries, etc...
> 
> </cfif>
> 
> 
> 
> Chuck



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311807
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to