Dunno, Haven't played fully with CFMX 7 in a while, but they did change the way querySets work now (ie can tell cfmx what type of column it is etc) maybe that has something to do with it.
On Wed, 9 Feb 2005 11:08:27 +1000, Gareth Edwards <[EMAIL PROTECTED]> wrote: > Empty? Passing an empty string to a function should work right? > > Even if I say type= or type="#getTypeFromColType(trim(qry.coltype))#" it > still doesn't work. > > Cant guarantee that the value is not empty.. but the same code runs on MX 6.1 > fine. > > Gareth > > <cfset colStruct[colname].cfsqltype = > Lcase(getCFSQLType(type=getTypeFromColType(trim(qry.coltype))))> > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes > Sent: Wednesday, 9 February 2005 10:03 AM > To: CFAussie Mailing List > Subject: [cfaussie] Re: Coldfusion 7 Bug? > > Looks like your variable is empty? > > Looks mind you. > > Scott > > On Wed, 9 Feb 2005 09:12:24 +1000, Gareth Edwards > <[EMAIL PROTECTED]> wrote: > > > > > > Anyone know why this might be? Same code works in Coldfusion 6.1. > > > > > > > > <!--- THIS DOES WORK -� > > > > <cfset coltype = getTypeFromColType(trim(qry.coltype))> > > > > <cfset colStruct[colname].cfsqltype = Lcase(getCFSQLType(coltype))> > > > > > > > > <!--- THIS DOESN'T WORK > > > > <cfset colStruct[colname].cfsqltype = > > Lcase(getCFSQLType(getTypeFromColType(trim(qry.coltype))))> > > > > -� > > > > > > > > The second returns an error saying that the required attribute "type" for > > getCFSQLType() is required but was not passed in. > > > > > > > > > > Gareth Edwards > > > > [EMAIL PROTECTED] > > > > Coldfusion Software Developer > > > > Alpha Business Systems > > > > 1/31 Thompson Street > > > > Bowen Hills 4006 Q > > > > ph +61 7 3216 0999 > > > > fax +61 7 3216 0500 > > > > www.alphabus.com.au > > > > > > > > --------------------------- TASS NEWS -------------------------- > > > > TASS 6.08 has been released!! > > > > > > >new white paper fee statement > > >new standard Income Statement and Balance Sheet > > > > > > > > > multiple timetable function has been introduced > > > > > > > > > 30 enhancements in > > Teacher Kiosk > > > > > > > > > Community module now available > > > > > > > > > Enrolments Inquiry Tracking now available > > > > > > Hit the 'What's New' > > button on the TASS menu to find out more! > > > > > > ------------------------------------------------------------------- > > > > > > > > Virus Disclaimer: Please note that this email may contain computer-generated > > file(s) as an attachment. Whereas we take every effort to protect our files > > from computer virus, we recommend that you check the file(s) with your own > > virus detection software prior to opening it. If you would prefer to receive > > a hardcopy of the file please email or phone. Alpha Business Systems does > > not accept liability for the consequences of any computer viruses that may > > be transmitted with this email. > > > > > > Confidentiality: This email and any attached files are intended solely for > > the addressee(s) and may contain confidential and privileged information. If > > you received this email in error, please advise us by return email or phone > > and disregard the contents and immediately delete it and destroy any copies. > > > > > > > > > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] Aussie Macromedia Developers: > > http://lists.daemon.com.au/ > > -- > Regards, > Scott Barnes > http://www.mossyblog.com > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- Regards, Scott Barnes http://www.mossyblog.com --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
