Hi Christian, Thanks. The values are a series that need to be graphed. Some values in a series may be null, indicating that the graph line should be skipped at that point since we don’t know what the value is. That’s why I decided to use C_COLLECTION instead of ARRAY REAL to hold the values. As I build the graph, I need to know the min and max values in the series.
Yes, I can loop through the collection, of course. I just figured the collection probably had a function that would allow me to reduce the collection to non-nulls before applying .min() or .max() without having to loop. Trying to learn how to use all the collection functions. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 <can...@synergyfarmsolutions.com> <www.synergyfarmsolutions.com> > On Jul 26, 2018, at 2:13 PM, Christian Sakowski > <christian.sakow...@heubach-media.de> wrote: > > Yes, this is expected. You can only do a query() on a Collection with objects. > Where do you get these values? You should select before to get only non-null > values or remove them from the collection with a For/Each-Loop. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************