Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > Re: Pdox DOS im...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 10 Topic 1336 of 1428
Post > Topic >>

Re: Pdox DOS im****t problem

by Michael Kennedy <Info@[EMAIL PROTECTED] > Mar 6, 2008 at 08:10 PM

Joe,

First, as Steve said, check back over recent posts on the PDox NGs - 
we've covered all this stuff many many times...

> I've got a txt file with fields delimited by commas. One field contains 
> product descriptions, and many have words enclosed in quotation marks.

If the FULL Alpha-FIELD is enclosed/delimited by ONE Double-Quote-mark 
at both ends of the fields, then that's perfect. Eg:
   123,456,"alpha field",789

If there are embedded DOUBLED double-quotes WITHIN some alpha-fields, 
then that's perfect also. Unfortunately, the Paradox CSV drivers are 
cr*p, and don't understand this. You should follow Rodney's advice. Eg:
   123,456,"Large 10"" bolts",789

If there are embedded SINGLE double-quotes WITHIN some alpha-fields, and 
double-quotes are NOT used as alpha-field delimiters, you should check 
those CUSTOM script options, in case you can get a combo that suits your 
files. Eg:
   123,456,'Large 10" bolts',789

If there are embedded SINGLE double-quotes WITHIN some alpha-fields, and 
double-quotes ARE used as alpha-field delimiters, then you're in (deep?) 
caca. Presumably, that file also came OUT OF a broken Paradox CSV 
driver! Eg:
   123,456,"Large 10" bolts",789
Worse, if there are adjacent commas near those embedded double-quotes, 
you're in very very deep.... Eg:
   123,456,"Large 10", and 15" bolts",789

In my PDox apps, I have a separate utility that I run on all CSV files 
going into Paradox, and on all CSV files coming out, to address all the 
above issues. It's all a major PITA...

   - Mike
 




 10 Posts in Topic:
Pdox DOS import problem
"JoeSpareBedroom&quo  2008-03-06 15:45:18 
Re: Pdox DOS import problem
"JoeSpareBedroom&quo  2008-03-06 15:52:30 
Re: Pdox DOS import problem
"Tony McGuire"   2008-03-06 09:26:33 
Re: Pdox DOS import problem
"Tony McGuire"   2008-03-06 10:21:58 
Re: Pdox DOS import problem
"Steven Green"   2008-03-06 13:52:57 
Re: Pdox DOS import problem
"JoeSpareBedroom&quo  2008-03-06 19:21:23 
Re: Pdox DOS import problem
"Rodney Wise" &  2008-03-06 14:47:26 
Re: Pdox DOS import problem
"JoeSpareBedroom&quo  2008-03-06 19:58:30 
Re: Pdox DOS import problem
Michael Kennedy <Info@  2008-03-06 20:10:18 
Re: Pdox DOS import problem
"JoeSpareBedroom&quo  2008-03-06 20:20:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 22:37:33 CST 2008.