Hi, I have to create a new database from a CSV text file. I have an ODBC datasource defined for the CSV file and I can read the file with a query like: <CFQUERY NAME="getMembers" DATASOURCE="Import"> SELECT * FROM membersImport.csv </CFQUERY>
The problem is that column names have blanks and special characters that makes them illegal variable names. If I have a column like memberId, I can use the data in getMembers.membId with no problem, but haw can I get the value in a column like "Région administrative" ? I've tried getMembers['Région administrative'] but it causes an error. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338379 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm