Subject | Re: Insert & then delete a row = "Unable to delete row" |
---|---|
Author | tickerboo2002 |
Post date | 2004-04-23T00:36:53Z |
--- In IBObjects@yahoogroups.com, "Marco Menardi" <mmenaz@m...> wrote:
six rows? I just want to delete one of the rows.
Thanks
David
> --- In IBObjects@yahoogroups.com, "tickerboo2002" <support@t...> wrote:OK, but If I've inserted 6 rows and then do a cancel, do I lose all
> > I'm using a TIB_Query to select a number of rows, insert a row and
> > then delete that row and I get an exception "Unable to delete row".
> >
> > Tracing into IBO, I see that I need to be out of dssInsert state, so I
> > called Search() prior to the delete. Now, it fails on the rowstate
> > being rsNone.
> >
> > Should I be able to insert and then delete the newly inserted row
> > within posting/commiting?
> >
>
> Use ".Cancel" to cancel insert state (so you loose the "client side
> only inserted record").
six rows? I just want to delete one of the rows.
Thanks
David