Page 1 of 1

Copy / Duplicating a Dataset

Posted: 30.04.2009, 11:54
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!

Posted: 03.05.2009, 21:45
by zippo
Not exactly what you need, but can be used for a base..

http://zeos.firmos.at/viewtopic.php?t=2 ... light=copy

Posted: 21.07.2009, 14:32
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.