On Sun, Nov 20, 2011 at 5:48 PM, Lionel Morrison <[email protected]>wrote:
> I have a CFC function that is returning a data type of string but the > Len() function says its a complex data type and errors out. > Have you dumped ThisHelp right before you return it to see what it is? Also this line of code doesn't make much sense: <cfif ThisHelp GT ""> I have a feeling what you actually mean there is: <cfif ThisHelp != ""> But at any rate, dump ThisHelp right before you return it and see what datatype it actually is. If it's definitely a string you'd have to share the code that calls that function and does the Len() so we can see what you're doing there. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
