Hello,
I have list screen, details & edit screen. For details & edit - I am using Edit & Display forms. Data I am showing has date field and if this date field value is 7 days less than current then want to apply some formatting to detail screen.
e.g. While loading list screen - if any of record date field value & current date difference is 7 days then want to show that record in red. Similarly when i navigate to Details screen - then date field data card color should be different & will also enable one button which is by default disable.
I have added below code to onVisible event of details screen but its not working
If(DateDiff(BrowseGallery3_2.Selected.'Expiry Date', Today()) = 7,'Expiry Date_DataCard1'.BorderColor=Red,btnBGCReminder.Visible=true)
Appreciate your help here.
Thanks,
Vivek