This is not a question, just something I ran into that was interesting. Just a small thing I ran into. I'm working with a CFC that has a function in it called Dupe_Address. This function is called twice in a row. Inside the function is a query of the same name. When the function is called a second time, I get an error. Why? Because the query having the same name as the function 'overwrites' it and the second call to the function fails. I thought that functions could not have the name of variables (I.e. things in the variables scope). Never knew a query would screw it up. All I had to do in order to fix it was change the query name by adding a q before the name (my personal standard).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183963 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54