Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare two objects
Message
De
05/06/2007 19:16:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01230357
Message ID:
01230780
Vues:
32
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




>>I know how to build this if I need to, but something tells me VFP already has this capability and I just can't remember how to get to it.
>>
>>Is there a VFP command which will compare two objects and determine if they are equal?
>>
>>meaning they have the same set of properties and all properties have the same value
>
>
COMPOBJ()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform