🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4767

Re: LoadFromStream

#4767
From: Giuliano
Date: Wed, 17 Oct 2001 00:02
16 lines
1412 bytes
On Tue, 16 Oct 2001 16:47:34 -0700, "Joe Smith" <Jchapman@cenadex.com> wrote:

>I've got a TClientDataSet, (no provider attached) and a TMemoryStream.  I
>want to use the LoadFromStream on the dataset and pass the memor stream, but
>when I do I get the no dataset error, so I tried calling CreateDataSet()
>first, but still no luck.  any ideas?
>

Make sure that before you call TClientDataSet::LoadFromStream, you have set
the stream's 'Position' property to 0.

HTH

Ciao!

Giuliano
Technical Details
Message-ID: <3bccc949.115840720@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-03!supernews.com!sjcppf01.usenetserver.com!usenetserver.com!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bccc70f_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,ece2a7211113218
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-10-16 17:09:44 PST
From: gcardinali@remove.adhoc.net (Giuliano)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: LoadFromStream
Date: Wed, 17 Oct 2001 00:02:44 GMT
Message-ID: <3bccc949.115840720@newsgroups.borland.com>
References: <3bccc70f_1@dnews>
X-Newsreader: Forte Agent 1.5/32.451
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 194.183.68.190
X-Trace: dnews 1003277328 194.183.68.190 (16 Oct 2001 17:08:48 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-03!supernews.com!sjcppf01.usenetserver.com!usenetserver.com!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews