Hi
I have a table where you can add rows(using add instance) and enter departing and arriving dates.
What i want to be able to do is find the max(the latest date) date out of all the subforms and return it into another date/time field.
I've read about using Max(n1 [, n2 ...])
I'm not sure if this is the syntax i'm supposed to use or not. How would i apply this to my example?
I am trying to get the max date from all the arrival date instances.
I'm fairly new to adobe designer and have come up with this, i don't think this is right?
for (var i = 0; i < form1.page2.section3._body3.count; i++)
{
this.rawValue = Max(form1.page2.resolveNode("section3.body3[" + i + "]").arrivalDate[*])
}
Can anyone help??
Thanks