Well you can use database triggers on tables for this matter, if your queries are related to simple tables...
Greetings from Switzerland Gert Franz Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List german: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1 Joseph Bugeja schrieb: > Dear ColdFusion Users, > > Is there a way that I can attach to a datasource through an event like > before_commit or before_update? > > So, if I have a cfquery tag, and I would ColdFusion to automatically, before > ColdFusion executes the code found in the cfquery I would like it to > automatically execute another query for example to set the user id to the > database? In this way I do not need to make any modification to the existing > code except that of creating new code to do something before executing my > main query? > > Thanks in advance for your assistance. > > Regards, > Joseph. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:309433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

