🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages Started by Dmitry Konnov Sat, 01 Jul 2006 07:12
To Get Records data in a buffer
#298
Author: Dmitry Konnov
Date: Sat, 01 Jul 2006 07:12
8 lines
1094 bytes
Hello,

I want to implement fast way of extracting all records data from TADODataSet
into memory buffer in order to send data over network.

Please  help.

Dmitry
Re: To Get Records data in a buffer
#301
Author: Viatcheslav V. Vassiliev
Date: Mon, 03 Jul 2006 07:31
27 lines
1849 bytes
Look at implementation of TADODataSet.SaveToFile(). Recordset.Save() 
supports OleVariant that contains IStream as first parameter. For IStream 
use TStreamAdapter.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)



"Dmitry Konnov" <dmitry@weblinedesign.biz> �������/�������� � �������� 
���������: news:44a6217b@newsgroups.borland.com...
> Hello,
>
> I want to implement fast way of extracting all records data from 
> TADODataSet
> into memory buffer in order to send data over network.
>
> Please  help.
>
> Dmitry
>
> 
Re: To Get Records data in a buffer
#303
Author: Dmitry Konnov
Date: Thu, 06 Jul 2006 09:47
17 lines
1504 bytes
Viatcheslav,

Please give me ideas how to save content of Current Recors in TADODataSet
into
memory buffer.
I need to save data record by record in order to process each record on
server side.

> Look at implementation of TADODataSet.SaveToFile(). Recordset.Save()
> supports OleVariant that contains IStream as first parameter. For IStream
> use TStreamAdapter.

Saving content of entire dataset may also suite for me.
Thank you for this information also.

Dmitry
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads