Re: CVS Files for databases

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29116
interpreted = N
texte = >> OK - I am stuck. >> >> I have always used tab-sep files for databases. In this project, I receive >> a 56000 record data file in CSV format via ftp from a client in exactly the >> format I require, use a CSV formatted .hdr file to match with it - all so I >> can automatically refresh the file daily unattended. When I search it I get >> nothing found - for anything. >> >> WebCat admin shows the header fields, the number of records in the database, >> and the number of fields - all correct. >> >> If I eliminate the CSV and replace it with TABs, all works just fine. > >I had the same problem, and as I recall (it's been a while since I last >dealt with this...) WebCatalog can't use a CVS file (if I'm wrong now, >please correct me). When I was doing my project, WebCatalog had to have a >comma separated, quote mark surrounded field to work. This is the way >FileMaker exports a merge file. > >Example: > >header1,header2,header3 >data,data,data >data,data,data > >Since this isn't what you have, it confuses WebCatalog (or it did, perhaps >they fixed it?) > >Anyway, I fixed the problem by writefileing a new file, that had the old >file included, surrounded by a convertchars to convert the commas into tabs. >My data didn't have commas in the data fields themselves, so your mileage >may vary...Or try a different header file such as:header1,header2,header3================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: CVS Files for databases (Larry Hewitt 2000)
  2. Re: CVS Files for databases (Larry Hewitt 2000)
  3. Re: CVS Files for databases (Peter Ostry 2000)
  4. Re: CVS Files for databases (Kenneth Grome 2000)
  5. Re: CVS Files for databases (WebDNA Support 2000)
  6. Re: CVS Files for databases (Kenneth Grome 2000)
  7. Re: CVS Files for databases (WebDNA Support 2000)
  8. Re: CVS Files for databases (Kenneth Grome 2000)
  9. Re: CVS Files for databases (Brian B. Burton 2000)
  10. CVS Files for databases (Larry Hewitt 2000)
>> OK - I am stuck. >> >> I have always used tab-sep files for databases. In this project, I receive >> a 56000 record data file in CSV format via ftp from a client in exactly the >> format I require, use a CSV formatted .hdr file to match with it - all so I >> can automatically refresh the file daily unattended. When I search it I get >> nothing found - for anything. >> >> WebCat admin shows the header fields, the number of records in the database, >> and the number of fields - all correct. >> >> If I eliminate the CSV and replace it with TABs, all works just fine. > >I had the same problem, and as I recall (it's been a while since I last >dealt with this...) WebCatalog can't use a CVS file (if I'm wrong now, >please correct me). When I was doing my project, WebCatalog had to have a >comma separated, quote mark surrounded field to work. This is the way >FileMaker exports a merge file. > >Example: > >header1,header2,header3 >data,data,data >data,data,data > >Since this isn't what you have, it confuses WebCatalog (or it did, perhaps >they fixed it?) > >Anyway, I fixed the problem by writefileing a new file, that had the old >file included, surrounded by a convertchars to convert the commas into tabs. >My data didn't have commas in the data fields themselves, so your mileage >may vary...Or try a different header file such as:header1,header2,header3================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Kenneth Grome

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:

Queertrons? (1997) Digest Format (2003) [/application] error? (1997) WebCat2 - [format thousands] (1997) Encyption mail was Suggestions for Topics ... (1998) WC2b15 File Corruption (1997) Nested tags count question (1997) [checkboxes] and webcat (2000) Sami (1998) Custom WebCat Prefs ... (1997) Snake Bites (1997) How To question on setting up downloads (1997) WebCommerce: Folder organization ? (1997) Trouble Searching (1999) really annoying feature (2001) Webstar 1.3.1 PPC (1997) Database Updates (1997) E-mailer application times out (1998) PIXO Support (1997) [OT] Unix question (2002)