Contact Me
Resources
Development Tips & Code Library
-
Recent Entries
Blogroll
Category Archives: Coldfusion
Coldfusion Output to .txt file
A couple of methods I use to output a file from the browser to .txt. Write your query as normal. Then use one of the two output methods below. CF8 – Output as comma delimited with quotes. Note, without quotes … Continue reading
Posted in Code, Coldfusion, Snippets
Comments Off on Coldfusion Output to .txt file
Text formatted columns problems – Mdash issue
Mdash in Text field causes output problems when exporting to excel. Continue reading
Posted in Coldfusion, Problems & Fixes
Comments Off on Text formatted columns problems – Mdash issue
Common Coldfusion Error Messages
Being the sloppy coder that I am, I often get to see the myriad of Coldfusion Error messages to indicate what I did wrong. Below is a partial list. Truncated Data – If you get truncation errors it generally means … Continue reading
Posted in Coldfusion, Problems & Fixes
Comments Off on Common Coldfusion Error Messages
CFTextarea maxlength validation onblur
Here is a nifty little trick. If you have a cftextarea and you want to let users know when they have exceeded the length allowed in the database you can use the maxlength plus validation attributes. You can use validateat … Continue reading
Posted in Code, Coldfusion, Snippets
Comments Off on CFTextarea maxlength validation onblur
CFTry and CFCatch to test database connection
Every once in a while our database server will be down, but the website server is fine. However, without a database, our application is not very useful. So I use this little snippet to output a custom message. I use … Continue reading
Posted in Code, Coldfusion, Problems & Fixes, Snippets
Comments Off on CFTry and CFCatch to test database connection