Hi everyone,
I have a survey in connect that is used for site inspections, and repeats that note the day of inspection (this is in a repeat). I have another field that *should* be getting the maximum value from the last inspection date, but it does not run. I am wondering if anyone knows what might be the issue and how I could get that functionality working.
I used the hydrant inspect template to get this going, so I was basin the functionality off of that. Here is the fields I am using.
Type | name | label | calculation | bind::esri:parameters |
date | lastInspection | Last Inspection | (max${AInspectDate}) | calculationMode=always |
date | AInspectDate | Inspection Date |
Thank you for the help! (also, I would be curious if the calculation using max can be looking at two fields, and seeing which is most recent.
What you have should work (tested in Connect and web, assumed to work in Field App):
Just make sure the MAX() is outside the repeat.