Gareth,
 
This is a long shot and it seems like that the problem lies in type casting, getCFSQLType requires a certain attribute type that is not being return from getTypeFromColType... Long shot but that's what it appears to be!!
 


Regards
Andrew Scott
Technical Consultant

NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9686 0485  -  Fax: 03 9699 7976  

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards
Sent: Wednesday, 9 February 2005 10:12 AM
To: CFAussie Mailing List
Subject: [cfaussie] Coldfusion 7 Bug?

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/ ---
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/

Reply via email to