🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Maverick Koe Wed, 25 Nov 1998 00:00
ClientDataSet
#1862
Author: Maverick Koe
Date: Wed, 25 Nov 1998 00:00
8 lines
627 bytes
Hi,

    I use TClientDataSet::GetCurrentRecord(char * abc) to convert the
current record into char * abc.  How can I reverse the operation? (i.e. put
abc into TClientData)  Thanks.

Regards,
Maverick
Re: ClientDataSet
#1878
Author: nikoly
Date: Mon, 21 Dec 1998 00:00
20 lines
967 bytes
Maverick Koe <kcool@netcom.ca> �������� � ������
<73hi9p$b8f20@forums.borland.com>...
> Hi,
> 
>     I use TClientDataSet::GetCurrentRecord(char * abc) to convert the
> current record into char * abc.  How can I reverse the operation? (i.e.
put
> abc into TClientData)  Thanks.
> 
> Regards,
> Maverick
> 
> 
Hi Maverik.
You can use TDataSet.ActiveBuffer  and TDataSet.RecordSize like
	memcpy(ClientDataSet->ActiveBuffer,ClientDataSet->RecordSize,abc);

Best regards
Nikoly
NikolyV@usa.net
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