Hello,
Here is what I am looking to accomplish, when a date is less than today, I want a specific icon to only be visible then. For example, if today is 7/26, and the date the them item coming in shows 7/22, I want the Mail icon to appear so it can be clicked to email our inventory team. Am I better off trying to accomplish it this way OR having the icon stay visible but only be clickable IF the date is passed today?
Below is what I am doing/tried and screenshots.
So I have a 2 screen app. The datasource is a sql database. The 2nd screen is the DetailForm. Inside that DetailForm there are DataCards. One of them is the 'Expected_date' card. I placed the Mail icon there names 'IconMail'. Right now I have that date set to change to a red color if less than today, so now I just want that icon to only appear when when less than today. I tried to set the Icon visible property to If(ThisItem.Expected_date < Today() and I also tried ThisItem.Expected_date < Today() but those formulas don't work. I also tried this: If(ThisItem.Expected_date < Today(), true, false) but icon still appears no matter what.
Any help is greatly appreciated!!!


