[ACFUG Discuss] expected xmlsearch behavior

2008-04-21 Thread Steven Ross
I'm about to blog about this but, wanted to get everyone's perspective first. Check out this bit of code (read inline comments). I believe it is sort of a bug (or at least a 'gotcha') in the way CF sees xml search results. cfxml variable=test test node nodes

Re: [ACFUG Discuss] expected xmlsearch behavior

2008-04-21 Thread Nelson Winters
One thing that may not be obvious is that you can do the following to get to the parent of a node: cfset parent = XmlSearch(blah[1], ../) -Nelson On Mon, Apr 21, 2008 at 9:00 AM, Steven Ross [EMAIL PROTECTED] wrote: I'm about to blog about this but, wanted to get everyone's perspective

Re: [ACFUG Discuss] Clone a SQL Server Database? Solved!

2008-04-21 Thread Peyton Todd
Something I read on a Microsoft User Forum cued me to the correct answer: Instead of establishing the new DB first, all you have to do is just say you want to 'restore' to it, even when it doesn't exist yet. Key in the name you wish to assign to it into the 'To database' text field of the

Re: [ACFUG Discuss] Why Clone the SQL Server Database?

2008-04-21 Thread Peyton Todd
It's a long story, Steven, but here goes... The CF site I'm writing is anextension ofASP site, whichwas written by a programmer who's no longer available. I tried to write the extension of his site in ASP at first, but I was never able to establish a development environment to work in because

[ACFUG Discuss] CFChart and printing

2008-04-21 Thread Mike Staver
An application I'm working on uses the CFChart tag to generate a bar graph based on a query. The graph looks great on the screen. This graph is inside a loop, and the graph gets generated approximately 1 to 6 times in most cases. When the user tries to print the screen, some of the images print

RE: [ACFUG Discuss] Clone a SQL Server Database? Solved!

2008-04-21 Thread Peyton Todd
Hi Greg - responses below in all CAPS. -Original Message- From: McTure, Greg [EMAIL PROTECTED] Sent: Apr 21, 2008 5:34 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Clone a SQL Server Database? Solved! Hi Peyton: I think you may have trade one problem for another here in

Re: [ACFUG Discuss] Creating a web service

2008-04-21 Thread Darin Kohles
I agree with Viswanathan, your return value must match your return type. try cfreturn false instead of cfreturn false On Mon, Apr 21, 2008 at 5:14 PM, [EMAIL PROTECTED] wrote: maybe, I am way off, but function returntype is string, while it seems to return boolean Jay Jayaraman Central

Re: [ACFUG Discuss] Creating a web service

2008-04-21 Thread Kevin Hellriegel
Thanks for your suggestions, guys. I changed the return type to a boolean and also changed the function's name. Unfortunately, I kept getting the same error. On hunch, I changed the cfinvoke to use the server's IP address instead of the hostname and it worked! Has anyone encountered this before?