Copy / Duplicating a Dataset

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
MainMeat
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 21.04.2009, 09:02

Copy / Duplicating a Dataset

Post by MainMeat »

Hi Everyone,

I have been searching for this for some time now and am not able to find any solution. Does anyone have any idea how I can copy / duplicate one dataset from one to the other? (TZQuery decendant)

If I try:
dataset1 := dataset2
it works until I close dataset2, which then also closes dataset1 which is not want is intended.

How to I copy the data from one to the other?

Thanks for any advice!
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Not exactly what you need, but can be used for a base..

http://zeos.firmos.at/viewtopic.php?t=2 ... light=copy
niztor
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 04.11.2005, 19:05

Post by niztor »

I'm not sure what you are trying to do, but you can use a TClientDataSet to make a copy in-memory of your dataset.
Post Reply