+ Start a Discussion

A visualforce page to display all related child records(detail pages) and email this as an attachment


Can any one guide me how to display a visualforce page with all the related child record's detail pages(I dont mind about the size of the page). 
I will explain this clearly.

We have a parent object ob1 (parent object also is displayed using visualforce page) and four child objects c1,c2,c3,c4. What I need is to send all these objects as an attachment to the email sent to internalstaff in a single button click. First I need to know can this be achieved. If it is achievable then can any one guide me in coding?

Thank You.