Re: TZF - Copy a record to virtual file
Pierre Wittwer <[email protected]> Thu, 14 Aug 2003 14:31:39 +0200
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Hi
With the appendFrom you only can append the whole or a filtered Database.
My goal is to copy only one Record.
Other suggestions ?
Thanks Pierre
> > 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)
> > 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
--^----------------------------------------------------------------