![MACROMEDIA COLDFUSION 4.5- TO CFML Quick Reference Download Page 23](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-to-cfml/coldfusion-4-5-to-cfml_quick-reference_3289016023.webp)
20
Quick Reference to CFML
ColdFusion Tag-Specific Variables
A number of ColdFusion tags return data as variables. For
example, the CFFILE tag returns file size information in the
FileSize variable, referenced as CFFILE.FileSize.
The following tags return data that can be referenced in vari-
ables:
• CFCATCH
• CFDIRECTORY
• CFERROR
• CFFILE
• CFFTP
• CFHTTP
• CFINDEX
• CFLDAP
• CFMAIL
• CFPOP
• CFQUERY
• CFREGISTRY
• CFSEARCH
• CFSERVLET
• CFSTOREDPROC
ColdFusion query variables
Any ColdFusion tag that returns a query object supports the
following variables:
queryname
.CurrentRow
queryname
.RecordCount
queryname
.ColumnList
Where queryname is the value of the NAME attribute in each
tag.
CFCATCH variables
Within a CFCATCH block, the properties of the active excep-
tion can be accessed as variables:
CFCATCH.Type
CFCATCH.Message
CFCATCH.Detail
CFCATCH.ErrNumber
CFCATCH.NativeErrorCode
CFCATCH.SQLState
CFCATCH.LockName
CFCATCH.LockOperation
CFCATCH.MissingFileName
CFCATCH.TagContext
CFCATCH.ErrNumber
CFCATCH.ErrorCode
CFCATCH.ExtendedInfo
Summary of Contents for COLDFUSION 4.5- TO CFML
Page 33: ...30 Quick Reference to CFML...