Hi All
I have a dropdown which displays items in the format <name of doc><doc id><due date>. so an example would be:
Test Document 1 <1345> [22/02/2022]
I have two labels, one to hold doc id, and the other the date. These are then used in filtering a grid control. The formula used to extract the doc id and the date are similar but target the doc id in one and the date in the other. The issue is if() for the date label. If for some reason the date is blank it should 0 should be placed in the label otherwise the date is extracted and placed in the label. The problem is it's not placing anything in the label, i.e. using the example above, there is a date so should display the date, but it displays nothing!!
Here's the formula...
If(First(Split(Last(Split(DesignDocList.Selected.Result,"[")).Result,"]")).Result=Blank(),0,First(Split(Last(Split(DesignDocList.Selected.Result,"[")).Result,"]")).Result)
What have i missed??
Thanks for any insights 😊
cheers!
dj