You need to sign in to do that
Don't have an account?

Counting number of related records
Hi all,
I have got two custom junction objects called Hotel Club and Register Child. Both objects are linked by a look up relationship.
My question how can I calculate the number of registered child on a hotel club. I can't create a master detail relationship on Register Child Object as it is also a child object of Client. Otherwise I can simply count the numbers.
Thanks, in advance ,for your help.
Regards,
Hi,
You can achieve this through a trigger.
Refer the below link
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=7792&query.id=162100#M7792
Thanks,
AJ