Correct me if I'm wrong but does this method not require the DCOUNT function to be executed each iteration of "I" to determine if you have reached your max value? Granted, for a small number of values it would not be that much of a hit but I'd not like to encourage this on the off chance that you use it on a large number of values somewhere else.
BobW -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serguei Sent: Friday, January 06, 2006 6:02 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] DCOUNT I personally would even write it like this if I am sure the number of values is no more then ten: FOR I=1 TO DCOUNT(REC<15>,@VM) (and of course I would not use number as a field position) ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/