Best of Talk (06/01/04)

 
Jun 02, 2004
by Dina Hess

Title: CFFILE APPEND at the Beginning
Date: 06/01/04      (4 Posts)
Summary: Prepending a file is a three-step process:
  1. Read the existing file using CFFILE ACTION="read"
  2. Concatenate the existing data to the new data
  3. Then rewrite the file using CFFILE ACTION="write" with the concatenated data
 
Title: CFMX + Odd Action Page Results
Date: 06/01/04      (5 Posts)
Summary: ColdFusion will automatically validate form fields with names that end in seven pre-defined suffixes: _required, _date, _eurodate, _time, _float, _integer, and _range. This is not new to CFMX; it's been in place since early versions of ColdFusion.
 
Title: Variable as a String
Date: 06/01/04      (6 Posts)
Summary: Need to display the date string, "Tuesday, June 1, 2004," as 06-01-2004? Use ParseDateTime() and DateFormat(), like this:
DateFormat(ParseDateTime("Tuesday, June 1, 2004"),"mm-dd-yyyy")
 
Title: Creating Reusable Primary Keys
Date: 06/01/04      (7 Posts)
Summary: Trying to reuse automatically-incremented primary keys after a record has been deleted? You could flag the record as deleted and then update it with new data, but the general consensus is that this is too much of an effort to reclaim such a small amount of space.
 
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting