In article <***@newsgroups.borland.com>, ***@reg.agri.ee
says...
Post by Aivar Annamaaactually, I wanted to say that "when no field with FieldKind=fkData has
changed"
The computed fields would be different because they use in computation
some other info outside the dataset.
To be more specific, I use grid where multiple rows can be selected (or
marked). I wish I could have the info about this selection in a computed
boolean field (and during computation I would use Grid's BookmarkList).
Then I could filter the dataset using this boolean field. But I need to
recompute the field when user alters the selection.
Change the field type from calculated to InternalCalc. I do similar
things all the time - I'll add a boolean InternalCalc field called
"Marked" to the dataset, then modify it's content in code based on a
variety of events in grids, related data, etc. I find it more reliable
to maintain than bookmarks - if the user filters a view, I still have
the "marked" fields set.
EdB