>Mind if I ask you one more question? Now that I have the cursor with dups, I created a temp table which has the 2 or 3 records that I am expecting. I need to compare record 1 with record 2 with record 3. What's the best way to do this? Sorry to bother you with such novice questions but I'm onsite and have no where to go.
>
>Thanks again,
>Sunshine
Sunshine,
A (simplified) way to compare records that I use (courtesy of Cetin, I believe) is using Scatter Name and the CompObj function.
USE MyTable in 0
SELE MyTable
GO Top
DO While !EOF()
SCATTER Name oRecordObject01
Skip
SCATTER Name oRecordObject02
cCompare = COMPOBJ(oRecordObject01,oRecordObject02)
? cCompare
EndDo
You would want to modify it to handle what you need.
Renoir