function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ppallavippallavi 

How to get multiple Questions and its respective multiple Responses in a Visualforce page.

I got an object with name Question where i post a question, and i got another object called Responses which is an child object of Question, Each question may contain multiple Responses.my query is how to achieve multiple questions and its respective multiple responses in a visualforce page. 

Karthik@TMCKarthik@TMC

Can you please elaborate your requirement.

SammyComesHereSammyComesHere

You would have to create a junction Object in salesforce with Fields 

Question record Id 

Answer Record Id

https://login.salesforce.com/help/doc/en/relationships_manytomany.htm