Factbox Field Visible

WildcardWildcard Member Posts: 26
Hello,

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[2] <> 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 ?

Thanks

Answers

  • ErictPErictP Member Posts: 164
    edited 2018-03-07
    Did you set the property Visible from the Field you want to show/hide to MaterialVisible?
  • WildcardWildcard Member Posts: 26
    yes, I forced the material visible to false on the openpage and the field is hidden. It is just not updated when I click on a other line of the list. (The value of cost[2] is udpated).
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    Put the field into a separate group with only this field in it and set the visibility on the group level
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Sign In or Register to comment.