Subject Re: [IBO] "Record was not located to delete"
Author Raymond Kennington
Helen Borrie wrote:
>
> At 11:17 AM 25-10-02 +0930, you wrote:
> >I added a record and posted it. No Explicit transaction component is on
> >the form.
> >
> >Components:
> > Connection
> > Query
> > DataSource
> > SessionProps
> >
> > ConnectionBar
> > DataSetBar
> > SearchBar
> > NavigationBar
> > UpdateBar
> >
> >The new record is visible.
> >
> >When clicking on the Delete button of the UpdateBar to delete it, the
> >message "Record was
> >not located to delete" appears.
> >
> >Is there a setting in the IB_Query component that would make deleting like
> >this possible?
> >
> >If not, what is the preferred method to provide this functionality?
>
> You can't delete a record that doesn't yet exist in the database. At this

The record exists in the grid.

> point the inserted row is only in the buffer or, if posted, is only a
> pending recversion. Use the 'X' button on the UpdateBar to cancel an
> insertion or change on the currently selected buffer row.
>
> Helen
>

The user has moved off the record and wishes to commit the changes to multiple records as
a whole.

The desire to delete the record occurred after making changes to other rows and other
insertions.

How can I allow a user to cancel an inserted record after moving off it?

--
Raymond Kennington
Programming Solutions
W2W Team B