Subject Re: [IBO] TQuery/TIB_UpdateBar - cant delete - why?
Author ronald_greven
Hi Helen,

many thanks for your fast reply.
> No problem. If the SQL cursor appears, the Delete is happening!!
Well, I did a refresh, and took a look at the data with another
service-application, but the record is not deleted.
I also tried to use the ConfirmDeletePrompt property, but nothing
happens. No dialog, and no record delete.
Which properties are also important for deleting?
I also tried to insert a deletesql manually, but also nothing happens.
I am sure, that this is just so simple, but I cant find the answer.

Many thanks for helping

Ronni


--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 08:45 AM 8/01/2004 +0000, you wrote:
> >Hi,
> >
> >I use a TIB_Query a TIB_Datasource and and a TIB_Updatebar in my
> >project.
> >In the TIB_Updatebar component, the visible button ubDelete is
true,
> >in the TIB_Query the PreventDeleting property is false.
> >
> >If I click on the deletebutton, the sql-mousecursor is shown for a
> >second, but nothing happens...
> >
> >Where is the problem?
>
> No problem. If the SQL cursor appears, the Delete is happening!!
By
> default, it "just happens". It's a good idea to take advantage of
the
> ConfirmDeletePrompt property of your datasets for interactive
> deletes. Just place one or more lines of message in there and a
little
> dialog box will appear with your message and Yes/No buttons.
>
> Helen