March 6, 2002
Verity data is stored in special databases called "collections". Collections are usually created and maintained using the ColdFusion Administrator (or the tag) allowing you to create, modify, and delete collections at will - everything but merging collections. To merge two collections you must use...
March 5, 2002
Verity search engine searches are usually performed using the CFML tag. But when needed, command line searches are supported using the rcvdk utility included with ColdFusion. This utility is ideal for experimenting with Verity search syntax (using the Verity query language). (Applies to: ColdFusion...
March 4, 2002
One of the most important distinctions between CFML and is in ending expressions. CFML code does not require that expressions be terminated, does - every statement must end with a semicolon. In addition, groups of statements must be enclosed within curly braces. (Applies to: ColdFusion 4 or later)
March 3, 2002
ColdFusion comes in different editions (Express, Professional, Enterprise) and different features are available in each. If you ever write code that requires a specific edition, you might want to have that code check the Server.ColdFusion.ProductLevel variable first to determine exactly what is...
March 2, 2002
There are two basic ways to insert members into ColdFusion structures - the StructInsert() function, or . The latter will always overwrite members if a member with the same name exists, the former takes an optional AllowOverwrite parameter (which defaults to TRUE) allowing you to specify whether or...
March 1, 2002
DatePart() is used to extract specific parts of date values (the year, the hour, the weekday, and so on). Parts are specified using special identifiers (YYYY for year, H for hour, and W for weekday, and so on). These parts must be passed as strings (within quotes) or ColdFusion will not process the...
February 28, 2002
Using / handling it is possible to trap specific database errors, possibly even allowing you to run code to fix problems when they occur. To trap specific database errors create a block with TYPE="database" and inspect the CFCATCH.NativeErrorCode variable. (Applies to: ColdFusion 5)
February 27, 2002
When viewing debug output generated by pages that use / based exception handling, it is often valuable to see the entire tag stack. To use this feature the "Enable CFML Stack Trace" option must be checked in the ColdFusion Administrator. (Applies to: ColdFusion 4 or later)
February 26, 2002
is a very important and useful tag, and is a fundamental element of code reuse in ColdFusion. That is, until a file is moved or renamed or deleted - and then all calls fail. This is a real problem, because there is no ease way to determine where files are being included. The solution is to use / to...
February 25, 2002
ColdFusion exception handling allows developers to trap and respond to specific error conditions, including custom ones (ones defined by the developer). Custom types are named using dot notation, allowing developers to create types, subtypes, and so on. code can catch specific subtypes if needed....