- see footer for list info -<
There is also a csvToQuery udf on cflib somewhere.
I did this before, and csvToQuery didnt quite work due to the specifics
of the dodgy csv I was working with. However, I managed to base my code
on it so it should show you a solution if it isnt one in itself
Dominic.
Lee Fortnam wrote:
- see footer for list info -<
Thanks Neil, will have a look and try to digest it.
Regards,
Lee
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robertson-Ravo,
Neil (RX)
Sent: 17 November 2005 14:46
To: Coldfusion Development
Subject: RE: [CF-Dev] Extracting info from an Excel Spreadsheet
- see footer for list info -<
http://jakarta.apache.org/poi/
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee Fortnam
Sent: 17 November 2005 14:53
To: 'Coldfusion Development'
Subject: [CF-Dev] Extracting info from an Excel Spreadsheet
- see footer for list info -<
Hi All,
Just wondering if anyone can recommend the best way to capture information
from an uploaded excel spreadsheet or CSV file, is there anything in
particular I should be looking out for, which one is the best format,
delimiters etc?
We are building a system and can define how we want people to supply the
information so easiest options are what we are looking for. Thinking along
the lines of a CSV file which gets saved to a directory and is then read
into a variable, the variable is then read line by line using the CRLF as
the delimiter (columns and headings would already be defined) and then doing
a DB insert assuming the line conforms to the expected criteria, i.e. the
number of columns and column length etc.
Using CFMX hosting as the host with a semi dedicated server so custom tags
might be an option.
Any help is appreciated.
Regards,
Lee
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is for the exclusive use of the
intended recipient(s). If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910. The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<