Subject Re: [IBO] Simple Question about delete clause
Author Artur Anjos
Hi

I also use DevExpress. If you want to refresh just one row, InvalidateBookmark works ok. Something like:

(IBOQMst is a IBOQuery :)

IBOQMst.InvalidateBookmark( IBOQMst.GetBookmarkStr );

works very well.

If you want to change the refreshAction:

IBOQMst.InternalDataSet.RefreshAction:=...

Is this what you're looking? I didn't follow this until now...

Regards,

Artur

----- Original Message -----
From: Gerhardus Geldenhuis
To: IBObjects@yahoogroups.com
Sent: Wednesday, September 05, 2001 4:05 PM
Subject: RE: [IBO] Simple Question about delete clause


Hi again
SIGH
Its not my day to day unfortunately I am not using ib_dataset but ibodataset
because I am tied to a specific grid(devexpress) so all of these nice
properties
and stuph is not available to me. I looked or tried at the tdatasets refresh
procedure and it does not look like it has something similar to
raInvalidateCursor I also tried the InvalidateBookMark but to no avail it
gives me the same error.
Any other ideas.

Thanks for the help so far.

Groete
Gerhardus
>
> Uh-huh, OK. :-) Call InvalidateBookMark on the dataset when you
> call the delete procedure; or change the dataset's RefreshAction
> to raInvalidateCursor . This tells IBO that it will have to
> check for that row's existence if it gets referred to again.
> Closing and opening the dataset is an EXTREEEEEEEME way to kill a
> cat. You are possibly getting this particular reaction from
> having something like CommitAction as caRefresh and RefreshAction
> as caKeepDataPos (can't say exactly except "I have been there". :-))
>
> hth
> Helen
>


Yahoo! Groups Sponsor
ADVERTISEMENT

Start here...

Height:
345678 ft 01234567891011in

Weight:
lbs. kg.









Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]