Hi Here the visibility property is not working for field for card page while applying condition. How to fix that issue ??
Hi Here the visibility property is not working for field for card page while applying condition. How to fix that issue ??
Hi, hope the following helps.
[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
Still i am facing the issue.
Declare your field like this
var
[InDataSet]
fieldvisible: Boolean;
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;
}
Hi,
You can show your code here.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156