Re: TZF - AppendRec

Marie Vihonsky <[email protected]> Wed, 13 Aug 2003 20:54:18 -0400
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Hi Pierre,

Some thoughts -
Are you placing the database into 'insert mode'?
Are you doing a ClearRecord prior to setfields?

Perhaps more sample code would help.

Marie

Pierre Wittwer wrote:
> Hi Topaz-Friends
>  
>  
> Very simple.
> I want to add a record. I fill it with SetFields and append the record.
>  
> before I append the record I test the fields with GetFields, everything ok.
> but when I control after the appendred, I get always empty records.
> What is wrong ?
>  
>  
> ........
> with customerDbf do begin
>     repeat until alock;
>     AppendRec;
>     Unlock;
> end;
>  
>  
> Thank you for aour help
>  
> Pierre Wittwer
> CH Stans
> 
> 

--^----------------------------------------------------------------
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
--^----------------------------------------------------------------