On Sunday 27 July 2008 13:12:08 Paul Kendall wrote: > Michael, > revision 14319 "Simplify spatial direct ref selection with FFMIN3()" is > wrong! The intent is to select the smallest +ve number or -1 if there is > +ve. Sorry, The intent is to select the smallest +ve number or -1 if there is no +ve. Cheers, Paul