The code works correctly in VFP9 but fails in VFP8. Looks like there is a bug in COMPOBJ() in VFP8. It reports objects as different if they have 'class' or 'baseclass' properties even if they have the same values in both objects.
>Sorry to resurrect this issue, but....
>PARAMETERS lcTbl1
>CLOSE TABLES ALL
>USE (lcTbl1) ALIAS tbl1
>SCAN
> SCATTER NAME obj2 MEMO
> SCATTER NAME obj1 MEMO
> ? RECNO(),COMPOBJ(obj1,obj2)
>ENDSCAN
>
>When I pass in a 5 record VCX each COMPOBJ() returns .F.
>
>What am I missing?
>
>Thanks.....Rich
>
>Update: When I pass in a VCX or SCX I get this result. When I pass in a DBF it seems to work
--sb--