I try to avoid some field in the factbox to improve lisibility.
The idea is: when you click on a record on a list, it will hide or show some calculated value in the factbox.
What I've done:
I set the visibility to true of the field in the open page.
After on Onaftergetrecord I have this:
MaterialVisible := Cost <> 0;
I tested with a message and the MaterialVisible value is correct. I've set the includeindataset also to true.
Is it possible to do that ? Or I miss something ?