BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TADODataset does not want to post records

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Johan
Guest





PostPosted: Fri Jun 23, 2006 8:11 am    Post subject: TADODataset does not want to post records Reply with quote



I'm having problems with a particular TADODataset which does not want to "Post" records to the database (SQL Server 2000).

It has a select statement which extract 21 fields from a table and from some parameters. There are onnew, beforeopen, beforepost and afterpost events. No fancy stuff. Integers, chars and money fields. In the beforepost event it does some calculations and set the fields.

The dataset extracts and display the data if I do a manual insert, but does not want to post it. I've tried all kinds of stuff to get this thing workin, but alas... here I am, begging for help.

P.S. I've inherited this program...
Back to top
Johan
Guest





PostPosted: Fri Jun 23, 2006 1:55 pm    Post subject: Re: TADODataset does not want to post records Reply with quote



hmmmm, the TADODataset was in ltBatchOptimistic and I did not update the batch...

"Johan" <johanvw (AT) graytech (DOT) co.za> wrote:
Quote:

I'm having problems with a particular TADODataset which does not want to "Post" records to the database (SQL Server 2000).

It has a select statement which extract 21 fields from a table and from some parameters. There are onnew, beforeopen, beforepost and afterpost events. No fancy stuff. Integers, chars and money fields. In the beforepost event it does some calculations and set the fields.

The dataset extracts and display the data if I do a manual insert, but does not want to post it. I've tried all kinds of stuff to get this thing workin, but alas... here I am, begging for help.

P.S. I've inherited this program...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.