Re: TZF - AppendRec
Pierre Wittwer <[email protected]> Thu, 14 Aug 2003 09:03:06 +0200
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Hi Marie An answer to > Some thoughts - > Are you placing the database into 'insert mode'? > Are you doing a ClearRecord prior to setfields? At the beginning I do customerDbf .Clearrecord and then use the SetFields..... and then the following > > with customerDbf do begin > > repeat until alock; > > AppendRec; > > Unlock; > > end; > Are you placing the database into 'insert mode'? Where Do you find this insert mode ? Thank you Pierre Wittwer > 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 > > > > > 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 --^----------------------------------------------------------------