Notifications
Announcements
No record found.
Hi Here the visibility property is not working for field for card page while applying condition. How to fix that issue ??
Hi,
You can show your code here.
first i have created a global variable of FieldVisible and datatype boolean . I had assigned that variable at dependent required field . Then i had written this code.
modify("Leave Code")
{
trigger OnAfterValidate()
var
myInt: Integer;
begin
if Rec."Leave Code" = 'AL' then
FieldVisible := true
ELSE
FieldVisible := false;
end;
}
Declare your field like this
[InDataSet]
fieldvisible: Boolean;
Still i am facing the issue.
Hi, hope the following helps.
https://yzhums.com/14752/
[View:/cfs-file/__key/communityserver-discussions-components-files/758/DynamicVisibility01.mp4:1024:768]
PS: Deprecating InDataSet attribute used for global variables in Pages (The InDataset attribute is unused)https://yzhums.com/37557/
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,664
YUN ZHU 960 Super User 2025 Season 2
Jainam M. Kothari 773 Super User 2025 Season 2