Subject | Re: [IBO] "Enable" updates of non updatable query |
---|---|
Author | Andreas Pohl |
Post date | 2001-11-27T20:10:48Z |
But IBO has disabled IB_Updatebar buttons automatically, because of non updatable statement (select distinct)
Maybe I miss sth. stupid, but I do.
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
Maybe I miss sth. stupid, but I do.
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
> > IBO is smart enough to detect if a dataset is not updatable (e.g. select
> distinct ....).
> >
> > For a consistent user interface I would like use IB_Updatebar for firing
> an insert/update statement. I only need an enabled bar button to catch
> needed event and handle it by myself.
> >
> > Is it feasable and if so how?
>
> I fail to recognize what you need that IBO doesn't provide for you. You can
> override a button's action using the BeforeAction event and then calling
> Abort so that the rest of it will not take place. You can also assign your
> own custom glyphs.
>