Paradox Community

Items in pnews.paradox-programming

Subject:Re: Downloading and saving as a csv via API Call
Date:Mon, 30 Apr 2018 23:14:44 -0400
From:"Larry DiGiovanni" <nospam@nospam>
Newsgroups:pnews.paradox-programming
Robert MacMillan wrote:

> so all I need to now solve is how to not put it in a string but dump it 
> complete into a .csv file.

msXML has a .responseStream that will return a stream.  I don't know/if 
ObjectPAL can handle a stream, though.

> There is also a problem in breaking it apart and processing it that way 
> from the entire string in that there is no comma between the end of one 
> record and the beginning of the next.

If you open the URL in the browser and save it, are the line breaks present? 
If so, then I'd guess it has something to do with the String conversion, or 
possibly just how you are looking at them, or not looking at them.

--
Larry DiGiovanni


Copyright © 2004 thedbcommunity.com