Coldfusion Tag-Specific Variables; Coldfusion Query Variables; Cfcatch Variables - MACROMEDIA COLDFUSION 5-CFML Quick Reference

Cfml quick reference
Hide thumbs Also See for COLDFUSION 5-CFML:
Table of Contents

Advertisement

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.ErrorCode
CFCATCH.ExtendedInfo
22
CFML Quick Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents