>As you've already been told, both will work. However, the SCAN version only works if you don't have ORDER set to the flagged field.Thanks, Tamar. The 'flagged' field is a C(1) filed I use to keep track of the status of a record. The dataset is small enough that there is no need for a tag or index on it. Thanks for the tip.
See you in Milwaukee in a few weeks.
Randy Bosma
VFP - Because life is too short to code in something else...