Hi all,
Created a field with Boolean type, If we filtered 'True' then that field should be display and as filtered 'false' then field doesn't show. Please help me.
Thanks,
Madhavi
*This post is locked for comments
Create a Boolean field as a page global variable, and set the IncludeInDataset property to YES.
For the field you set the VISIBLE property to the Boolean variable you created.
On the page, add the code in three places in OnAfterGetRecord trigger, OnAfterGetCurrRecord trigger, and the field you are using to control the visibility. The code will set the value for the boolean variable
For example if you have created boolean as ShowValue then you set that as
ShowValue := "Field Name" (Where Field name is the name of the field you will use)
As per Jonathen, please set the visibility of the field to the value of your Boolean variable.
-Yogesh Kulkarni
Please verify, if it solves your problem.
create a global variable of type boolean in the page, where you want to toggle the visibility of that field and set it as value to field property "Visible" of the page field. as an example checkout field "No." in page 30 or in page 42.
Dear Madhavi ,
if you make Boolean value , u have to write a constrain to get the data by "True" or "False"
check your constrain according to your filtering
As per mohana write more, what you want and where you want.
and what did you try to achieve it and what is not working?
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,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156