 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Johan Guest
|
Posted: Fri Jun 23, 2006 8:11 am Post subject: TADODataset does not want to post records |
|
|
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
|
Posted: Fri Jun 23, 2006 1:55 pm Post subject: Re: TADODataset does not want to post records |
|
|
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 |
|
 |
|
|
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
|
|