Is it possible to make a Boolean page field visible only if it is True/Yes?
Explanation:
Salesperson/Purchaser table has a field "Inactive". I have a added a Lookup field on the sales line for the Salesperson/Purchaser "Inactive" field. I want the field to show Yes if it is checked but I want it to appear blank if it is not.
Is this possible? :-k
0
Comments
On the text variable will you please elaborate?
You can set a Boolean var in the Visiblility (or Enable) property of your field.
Then you can set this var on TRUE or FALSE on trigger "OnModify".
Like:
IF "Salesperson/Purchaser"."Inactive" THEN BEGIN
isVisible := TRUE;
CurrPage.UPDATE;
END ELSE BEGIN
isVisible := FALSE;
CurrPage.UPDATE;
END;
But be careful with the CurrPage.UPDATE to save your values, ...
PS: Sorry for my bad english... You know, i'm french
Talent Business Solutions
Technical Expert of Microsoft Dynamics 365 Business Central
Website | Mail | LinkedIn