Re: writefile, csv, tab and excel import behavior

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58223
interpreted = N
texte = Unfortunately it still tries to evaluate numeric fields. They only way I have seen around this is to treat the exported file as a text file and use the excel text import wizard. I just recently purchased Urchin and it has an excel and word export option for all its reports. They actually are in excel 2000 and word 2000 format. I am assuming this is done within the app. Are their any 3rd party cgi prog that can do this? I am trying to make this as idiot proof for the client as possible. Vincent -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Gary Krockover Sent: Friday, June 04, 2004 10:55 PM To: WebDNA Talk Subject: Re: writefile, csv, tab and excel import behavior I've always done a: [WriteFile somefile.xls] sku firstname lastname phone email [search db=yourdatabase.db&criteria][founditems] [sku] [firstname] [lastname] [phone] [/founditems][/search] [/WriteFile] With no problems at all. Before you open the file in Excel, click to select all the cells and then go Format > Cells > and select Text. You shouldn't have any formatting then. GK At 09:34 PM 6/4/2004, you wrote: >How would one use writefile to export a tab delimited file or csv so that >excel plays nice. > >Currently I can export using: > >"value1","value2","value3" > >Except excel formats some of the values and numeric and tries to evaluate >them. > >I was going to try a tab delimited format such as: > >[unurl][fieldname1]%09[fieldname2]%09[fieldname3][/unurl] > >Any ideas??? > >TIA! > >Vince ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: writefile, csv, tab and excel import behavior ( Sal D'Anna 2004)
  2. Re: writefile, csv, tab and excel import behavior ( Gary Krockover 2004)
  3. Re: writefile, csv, tab and excel import behavior ( "Vincent Medina" 2004)
  4. Re: writefile, csv, tab and excel import behavior ( Gary Krockover 2004)
  5. writefile, csv, tab and excel import behavior ( "Vincent Medina" 2004)
Unfortunately it still tries to evaluate numeric fields. They only way I have seen around this is to treat the exported file as a text file and use the excel text import wizard. I just recently purchased Urchin and it has an excel and word export option for all its reports. They actually are in excel 2000 and word 2000 format. I am assuming this is done within the app. Are their any 3rd party cgi prog that can do this? I am trying to make this as idiot proof for the client as possible. Vincent -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Gary Krockover Sent: Friday, June 04, 2004 10:55 PM To: WebDNA Talk Subject: Re: writefile, csv, tab and excel import behavior I've always done a: [WriteFile somefile.xls] sku firstname lastname phone email [search db=yourdatabase.db&criteria][founditems] [sku] [firstname] [lastname] [phone] [/founditems][/search] [/WriteFile] With no problems at all. Before you open the file in Excel, click to select all the cells and then go Format > Cells > and select Text. You shouldn't have any formatting then. GK At 09:34 PM 6/4/2004, you wrote: >How would one use writefile to export a tab delimited file or csv so that >excel plays nice. > >Currently I can export using: > >"value1","value2","value3" > >Except excel formats some of the values and numeric and tries to evaluate >them. > >I was going to try a tab delimited format such as: > >[unurl][fieldname1]%09[fieldname2]%09[fieldname3][/unurl] > >Any ideas??? > >TIA! > >Vince ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Vincent Medina"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Showif, Hideif reverse logic ? (1997) Regarding PayPal (was Payments -> Bank Accounts) (2005) syntax question, not in online refernce (1997) [defined]ish (1997) [OT] Am I an Idiot? (2004) date tag not interpreted (2000) HELP WITH DATES (1997) Quit revisited (1997) [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) popups, netscape vs explorer (1997) A dynamic database. (1997) Re[2]: searches with dash, period etc. (back form politenes (2000) two unique banners on one page (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) [WebDNA] Styling search results (2009) Frames and WebCat (1997) Help! WebCat2 bug (1997) Replacing a Word (1999) Submit a Form to a Selected URL (2003)