Re: TZF - TZ : Save a single record

Pierre Wittwer <[email protected]> Sun, 1 Feb 2004 01:52:55 +0000 (UTC)
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Thanks for your help. The solution of B.Evers suits best:
> TzDBF.Edit;
> // do your stuff here
> TZBDF.Cancel if you wish to cancel the edits

Pierre Wittwer


> ----- Original Message -----
> From: "Pierre Wittwer" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, January 28, 2004 1:10 AM
> Subject: TZF - TZ : Save a singel record
>
>
> > Hallo Topaz-Users
> >
> > I want to copy a single  record of a TzDbf into the memory. How can I do
> > that.
> > The idea is: I have a record A, copy the record to memory, change the
> record
> > A.
> > If the mocification is wrong, I want to discard the changes and copy the
> > record in memory back to the memory A.
>
> You can simply edit the TzDBF. Is changes are wrong you do Cancel instead
of
> Post.
>
> TzDBF.Edit;
> // do your stuff here
> TZBDF.Cancel if you wish to cancel the edits
>
> What you also can do is use a TzVfile. Copy this one record to the Vfile
an
> copy it back if edits are correct.
>
> 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
--^----------------------------------------------------------------