Distinct values ?
sort (resulting) array
get first and last element

On Wed, 11 Oct 2017 17:30:01 -0400, Alan Tilson via 4D_Tech wrote:
> Greetings everyone,
> 
> Is there a way to get the earliest and latest dates from a selection of
> records similar to using Min/Max for numerical data?
> 
> I have sorted the data and captured the first and last dates but this seems
> rather a lot of work to get this info.
> 
> I believe that I have also used Selection To Array to capture the dates in
> the array and then sorted the array.
> 
> Surely there is something I've overlooked?
> 
> Currently using v13.6.
> 
> Thanks,
> Alan Tilson
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to