>- see footer for list info -< Thanks All, sorry to have not responded to you all but got pulled out of the office!!!!
Will look into each of the options and come back to you where relevant. Thanks again, Lee -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dominic watson Sent: 17 November 2005 15:58 To: Coldfusion Development Subject: Re: [CF-Dev] Extracting info from an Excel Spreadsheet >- see footer for list info -< Or, if you want it simple, stick to a csv which can easily be turned into queries, written to, created etc. with cffile and some simple cf. Robertson-Ravo, Neil (RX) wrote: >>- see footer for list info -< >> >> >Yep you can do it this way... > >As I said, using POI, you do require an ODBC connection; it is entitely >native Java - it allows you to not only create the Excel sheet on the >fly but also, manipulate cells, fonts, create worksheets, something an >ODBC connection cannot AFAIK. > >N > > > > > > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Mark Smyth >Sent: 17 November 2005 15:28 >To: 'Coldfusion Development' >Subject: RE: [CF-Dev] Extracting info from an Excel Spreadsheet > > > >>- see footer for list info -< >> >> >Hi Lee > >Take a look at >http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18656 > >Basically create an ODBC to the spreadsheet and then an ODBC socket in >the cf administrator. > >Once you have the datasource verifying you can return a query object of >the excel worksheet via: > ><cfquery name="TEST" datasource="#DNS#"> > SELECT * > FROM [WORKSHEET_NAME$] > IN 'c:\upload.xls' 'EXCEL 5.0;' ></cfquery> > > >Let me know if you have any problems >Mark > >-----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 -< >> >> > > > > >_______________________________________________ > >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 -<
