Re[2]: Strange database format import
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27783
interpreted = N
texte = Rob - I think that carriage return is actually an artifact of the e-mail. The fifthfield is Wool Suits, M&B with an embedded comma. This is not something that agrep will take care of, unless you use a very sophisticated (i.e. contextsensistive) regular expression.John Peacock____________________Reply Separator____________________Subject: Re: Strange database format import Author:
(WebCatalog Talk)Date: 2/18/00 1:38 PMOn 2/17/00 11:29 pm, Dennis J. Bonsall, Jr. so noted...>WebCat seems to do okay with it up until a point. The database is a>comma-delimited database, and the first several columns are denoted by>quotes and seperated by commas. Even when it gets to a point where>commas appear within the quotes, WebCat does not have a problem. But,>when it gets to the last several colums of the database, which have no>quotes, and are separated only by commas, WebCat chokes on the>database. Here is an entry from within this database:>>CANADA,01/01/00 - 12/31/00,2-A,SME,Wool Suits,>M&B,5016780,20330,0.40524,0.064045,0.06754,0.,01/13/00The file is *close* to being quote/comma delimited, until you get to the last part. As long as this inconsistent format is consistent (quote/comma at the beginning, numbers with commas at the end) you can do a replace in BBEdit.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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:
Rob - I think that carriage return is actually an artifact of the e-mail. The fifthfield is Wool Suits, M&B with an embedded comma. This is not something that agrep will take care of, unless you use a very sophisticated (i.e. contextsensistive) regular expression.John Peacock____________________Reply Separator____________________Subject: Re: Strange Database format import Author: (WebCatalog Talk)Date: 2/18/00 1:38 PMOn 2/17/00 11:29 pm, Dennis J. Bonsall, Jr. so noted...>WebCat seems to do okay with it up until a point. The database is a>comma-delimited database, and the first several columns are denoted by>quotes and seperated by commas. Even when it gets to a point where>commas appear within the quotes, WebCat does not have a problem. But,>when it gets to the last several colums of the database, which have no>quotes, and are separated only by commas, WebCat chokes on the>database. Here is an entry from within this database:>>CANADA,01/01/00 - 12/31/00,2-A,SME,Wool Suits,>M&B,5016780,20330,0.40524,0.064045,0.06754,0.,01/13/00The file is *close* to being quote/comma delimited, until you get to the last part. As long as this inconsistent format is consistent (quote/comma at the beginning, numbers with commas at the end) you can do a replace in BBEdit.-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
jpeacock@univpress.com
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:
PSC recommends what date format yr 2000??? (1997)
WebDNA 5.1 is now available! (2003)
cookies and DNS (2000)
Webcatalog 4.0 - When will we be able to beta test it? (2000)
PCS Customer submissions ? (1997)
Automatic [URL]ing by the webdna engine (2003)
[taxRate] [TaxTotal] ? (1997)
Cart questions (1997)
[format] problem (2001)
Problems appending to database (1997)
Cookie set browser session. (1998)
How To get Some Help (2003)
:Programmer: Looking for work (2002)
WebCat/Typhoon Status under Windows (1998)
Emailer Set Up (1997)
[WebDNA] WebDNA 8.1 & Ubuntu 16 (2017)
Ooops-Serial Number for NT (1997)
Still Stumped on ShowNext...HELP! (1997)
Re(2): webDNA and flash UTF8 translation (2003)
LOOKUP and Math operations (2001)