Subject | Failed to post all datasets |
---|---|
Author | Aage Johansen |
Post date | 2008-04-22T18:58:48Z |
Delphi/2007
IBO/4.8.7
I've recently encountered (for the first time, and in an old project)
the exception E_Failed_To_Post_Datasets: "Failed to post all datasets".
It is raised in IB_Components: TIB_Transaction.SysPostAll - at least,
that's the only place I found it referenced.
I'd like to hear any hints about something to check...
It has happened when I delete a record from either of two grids, but
not always.
These grids (different TIB_Queries) use the transaction mentioned
below: ibtxKRG.
I open a few queries, and delete a record through the delete button
on a TIB_Updatebar - and boom! Nevertheless, the delete works fine
(after clicking ok).
---------------------
Some observations (probably of no consequence whatsoever):
Looking at the transaction component I can see the following
ibtxKRG:
_DatasetCount 105
_StatementCount 120
_TransactionLinkCount 121
These "properties" aren't saved in the dfm files - are they generated
when a project or file is opened in the IDE? Meaning that they will
always be correct?
---------------------
I have a suspicion that something bad happened to the source files
one day last week when my pc lost the connection to the network drive
holding the project. At least, a few other things was evidently
wrong so I had to "recreate" the project in a new folder (copying pas
and dfm files and creating the project file).
TiA
Aage J.
IBO/4.8.7
I've recently encountered (for the first time, and in an old project)
the exception E_Failed_To_Post_Datasets: "Failed to post all datasets".
It is raised in IB_Components: TIB_Transaction.SysPostAll - at least,
that's the only place I found it referenced.
I'd like to hear any hints about something to check...
It has happened when I delete a record from either of two grids, but
not always.
These grids (different TIB_Queries) use the transaction mentioned
below: ibtxKRG.
I open a few queries, and delete a record through the delete button
on a TIB_Updatebar - and boom! Nevertheless, the delete works fine
(after clicking ok).
---------------------
Some observations (probably of no consequence whatsoever):
Looking at the transaction component I can see the following
ibtxKRG:
_DatasetCount 105
_StatementCount 120
_TransactionLinkCount 121
These "properties" aren't saved in the dfm files - are they generated
when a project or file is opened in the IDE? Meaning that they will
always be correct?
---------------------
I have a suspicion that something bad happened to the source files
one day last week when my pc lost the connection to the network drive
holding the project. At least, a few other things was evidently
wrong so I had to "recreate" the project in a new folder (copying pas
and dfm files and creating the project file).
TiA
Aage J.