Re: TZF - Copy a record to virtual file

"b.evers" <[email protected]> Thu, 14 Aug 2003 11:16:47 +0200
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Hi,

----- Original Message ----- 
From: "Pierre Wittwer" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 14, 2003 10:14 AM
Subject: TZF - Copy a record to virtual file


> Hi friends          (sorry it's me again)
> 
> I want to copy a record from e.g. customerDbf    to a virtual file
> VirtualDbf  with the same structure.
> I did it so, that I copy each field from one file to the other
> VirtualDbf.Set x Fild('FIELD',  customer.GetSet x Field );
> 
> is there another possibility to copy the record directly ?

Yes. Use the loadfromDBF option of the Vfile.

Also you can look to appenfrom (am not sure TzVFile supports it)

> 
> Thnk you for your help
> 
> Pierre Wittwer
> 6370 Stans
> 

Benno

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------