Subject Re: [IBO] "Failed to post all datasets" error
Author Jason Wharton
Look at your callstack for when the dataset is going into edit state. Put a
breakpoint in the IBO code. Somewhere in your code you are doing a write of
a value to a column and forcing things back into an edit state.

Jason

----- Original Message -----
From: "Ryan Nilsson-Harding" <nilsson@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, August 26, 2003 12:09 AM
Subject: [IBO] "Failed to post all datasets" error


> Hi there,
>
> I have a strange problem that has just recently popped up.
>
> I have a master/detail form. When I edit a record then click the
> post button on the UpdateBar, nothing happens.
> It remains in edit mode, but reports nothing.
> If I click the Commit button on the TransactionBar, I get the error:
> "Failed to post all datasets" and remains in edit mode.
>
> Now, if I scroll off that record, and scroll back, the dataset is
> now posted, and when I click Commit, all is fine and committed.
>
> Also, If I insert a new record, when I click post, the form goes
> from dssInsert to dssEdit (green to yellow)
> but, like above, if I scroll away, then back, all is posted and I
> can now commit
>
> I have seen that this error is in the IB_Constants.pas file, but
> when I search for "E_Failed_To_Post_Datasets" (the constant) to try
> to locate this so I can try to figure out why this is happening, I
> only find the entries in the international Constants files, but do
> not see this constant anywhere else.
>
> Does anybody know why this may be happaning, or where I can begin to
> figure out why?
>
> This was working only until recently, and I cannot see what I have
> changed, but I obviously have done something.
>
> I'm pulling my hair out about this one, so help would be GREATLY
> appreciated!
>
> Rgds,
> -Ryan
>