That's a decent suggestion too Tango, but some of the CFCs I want to compare
have other CFCs in them. So I could return one mother of a struct that
contains other structs for each internal CFC, but that's the part I'm trying
to avoid. 

One advantage is that I actually don't need to know what the differences
are, just that there are differences.

Baz


-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 9:41 AM
To: CF-Talk
Subject: RE: Compare data within 2 CFCs

> From: Baz [mailto:[EMAIL PROTECTED] 
> Is there an easy way to compare the data within 2 CFCs? For 
> example these 2 CFC instances contain different data:
> CFC1=createObject('Customer').Read(ID=100000)
> CFC2=createObject('Customer').Read(ID=999999)

Provide a method in the Customer CFC that returns the instance data
(getInstance()). Then use this UDF to see the differences:
http://www.cflib.org/udf.cfm?ID=1136

Tango.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233889
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to