How about: ... and max(fld 1) < 256 and min(fld 1) >= 0 ... ... still one line but not pretty ... I'm away from my computer so I can't test it now. -- Dick Sent from my iPhone On Jun 26, 2010, at 2:43 AM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote: > put (fld 1 is a color and the number of items of fld 1 is 3)