Re: TZF - Error Message
Adrian Hewitt <[email protected]> Thu, 10 Jul 2003 20:16:20 +0800
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Thanks Benno Yes I use control that are data aware... I will try your Check (which is a sensible idea) and come back to you if I have more queries .... if that's OK Thanks Ade ----- Original Message ----- From: b.evers To: [email protected] Sent: Thursday, July 10, 2003 4:54 PM Subject: Re: TZF - Error Message ----- Original Message ----- From: Adrian Hewitt To: [email protected] Sent: Thursday, July 10, 2003 8:46 AM Subject: TZF - Error Message I hope some one here can help. I have not done any programming with Topaz/Delphi for a couple of years ... so I am a bit out of it. I needed to make some code changes to a quoting program I still use with a relational data base (Customers & Jobs) I have made quite a few changes ... one of which is a new form that gets called at he very beginning and I now keep getting this Error message : Project QuickQuote.exe raised exception class EDatabaseError with message 'Dataset not in edit or insert mode. I Hope you can help point me in the right direction. This error means you are trying to post a record, that is not in editmode. Do you use dataaware controls? You could build a check just before posting: tf tzdbf.state in [dsEdit, dsInsert] Then tzbdf.post; Regards Ade Hope this helps 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 ==^================================================================