I'm not sure but I believe that you can't <cflock> <cfquery>'s.
Ali >At 07:45 PM 19/04/2005, Ali Awan wrote: >>I forgot to add that App1 and App2 are inserting to the same table. >> >>I ended up with 2 records with the same ID. > >Couldn't you use cflock to lock the table until the first app is done? > >T > >--- >[This E-mail scanned for viruses by Declude Anti-Virus] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54