• Tushar Mahadik 13
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

I have master detail relationship with contact and custom object BroadBandCustomers .

So, i have used a subquery to fetch few details from custom object . i would like to know how to display sub query value in visualforce page . I am getting values .... tested in workbench. 

Here is my query:

SELECT Homeroom__c ,Phone  ,Number_of_calls__c ,

(SELECT id FROM BroadBandCustomers__r ORDER BY HSI_Stage_Date__c)

 FROM Contact  ORDER BY LastName, FirstName