Latest Version: 1.0.5 (Released: 03/19/2005)Java-based CFX tag for parsing delimited text files and converting them to ColdFusion queries. This is particularly useful for CSV (comma-separated) files which are commonly used for data imports.
CFX_Text2Query works better than other methods because it can handle
empty fields and fields with
line breaks, and it does it at breakneck speeds!
One alternative, using CFHTTP, requires the file to be web-accessible, and cannot handle empty fields OR line breaks. This often results in the "Incorrect number of columns in row." error and a lot of headaches.
Other methods involving native CFML are slow and cumbersome and rarely account for line breaks.
cfx_text2query, as far as i can tell, handles more files, better, than the alternatives. This tag is a version 1 release, though, so incompatibilities are not impossible. Thus far, however, i have yet to uncover any.
Compatibility:
CF4.5,CF5,CFMX, CFMX7 - Linux/Unix,Windows