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:

OT: Time Tracking (2003) PSC recommends what date format yr 2000??? (1997) [WebDNA] WebDNA on LiveCD ... (2008) carriage returns in data (1997) Saving [referrer] for later use (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Plugin or CGI or both (1997) [format 40s]text[/format] doesn't work (1997) Email Format (1998) RE: Which [index]? (1997) WC TableGrinder (1997) [WebDNA] shopping sites and the "old commerce tags" (2012) Strange database format import (2000) [SHOWIF] (1997) Multiple Stores and WebCatalog Prefs (1997) emailer (1997) restarting service remotely on NT (1997) Progress !! WAS: Trouble with formula.db (1997) Paths (2000) Frames and WebCat (1997)