I have something like that following (which I believe works on our cf7 servers).
<cfquery name="someqry" datasource="somedns"> Insert into sometable (somefields) Select somefields from someothertable Select SCOPE_IDENTITY() as someid </cfquery> <cfreturn someqry.someid> I am now getting an error at the cfreturn line saying that someqry is not defined. I know that if I wasn't returning anything then I would expect the someqry variable to be set to null (which I believe to be a bug), but now my qry is returning data, but it is still being set to null. Is anyone experiencing similar issues? Is there a hotfix or am I just doing something wrong? RUss ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

