Thanks Bob but that wouldn't work in this case: CFC1=createObject('Customer').Read(ID=100000) CFC2=duplicate(CFC1) CFC2.setName('kakapipi')
I was thinking of perhaps some hash type function that would convert each CFC into some 64-bit string that you could compare. Perhaps invoked like this: isDuplicateCFC(CFC1,CFC2) Baz -----Original Message----- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 8:37 AM To: CF-Talk Subject: Re: Compare data within 2 CFCs You would need a function that would return the ID. <cffunction getID()> <cfreturn variables.id> </cffunction> Then you do a compare outside of the cfcs. Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233886 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