ok... one more question for this thread.
So I have the calendar items being sorted by date (Thanks again)
I want to show only the most current 5 items on the form..
I do this by adding an expression on the repeating table ( expresssion : position()>5 )
If I order=DESC then I have calendar items from too far in the future being shown and filling up those 5 spots.. ie:
May 30th Item 6
May 29th Item 5
May 29th Item 4
May 29th Item 3
May 28th Item 2
May 28th Item 1
May 27th Item -1
May 27th Item -2
May 26th Item -3
May 25th Item -4
so the top 5 here leaves out Item 1
I then decided to put a formatting rule on the repeating table that says to hide any calendar item that is <= todays date and changed the order=ASC
unfortunately the empty items (listed as negative in my example) are still counted towards the five items in my expression but just hidden and I only see one item, Item 1
Any suggestions on how to get the top 5 dates starting with todays date and sorted decending?
Thanks,
-Bob