Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Display names of Contact & Opportunity which are related to Account

    Tagged: Account, Contact, Salesforce Opportunity, Salesforce Visualforce Page

    • Salesforce® Discussions

      Display names of Contact & Opportunity which are related to Account

      Posted by Pratyush on May 17, 2016 at 7:30 AM

      We have 3 objects Account, Contact, Opportunity. In a VF page, we need to display the names of contact & Opportunity which are related to Account.

      Utsav replied 10 years, 5 months ago 2 Members · 1 Reply
      • Account
      • Contact
      • Salesforce Opportunity
      • Salesforce Visualforce Page
    • 1 Reply
    • Utsav

      Member
      June 1, 2016 at 1:35 PM

      Hi Pratyush

      You can use the below SOQL query to print on the VF page:

      select id,(select name from contacts),(select name from opportunities) from account

      Although hierarchical iteration is being needed while printing inner queries results on VF page.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce Summer '25 Highlights

    Blog in Salesforce Releases

    Summer is nearly here, and Salesforce's Summer '25 release update means there's more to look forward to than the sun and the beach. Whether you've…

    Analytics, Authentication, Authentication Provider User Registration, Basic CSS, Basic HTML
    DB Nov 11, 2025
    397  Views
    Big Objects in Salesforce

    All About Big Objects in Salesforce

    Blog in Others, Salesforce

    In Salesforce, We already know about Standard objects, Custom objects, and External Object. These objects assist you to handle and operate data. But if we…

    APIs, Auditing and Tracking, Big Object, Big Object Information, Client Data
    Shweta Oct 12, 2020
    6,021  Views

    Salesforce to MySQL: Steps to Integrate Data Easily

    Blog in Salesforce

    Are you attempting to connect Salesforce to MySQL? If so, you've arrived at the right. Salesforce seems to be a virtualized Customer Management (CRM) technology…

    APIs, billing, Business Environment, Cloud-based Customer Relationship Management, Cloud-based Technology
    vunnam Nov 2, 2021
    7,785  Views

    Popular Salesforce Videos

    Introduction to Salesforce Function | Evergreen

    Introduction to Salesforce Function | Evergreen

    Video in Others, Salesforce Stories

    Introduction to Salesforce Function and Evergreen. Deliver event-driven, connected experience fast. Evergreen: Serverless Functions Check out this video to learn everything you need to know…

    Salesforce Training, Salesforce Certification, Salesforce Video, Salesforce Learning, JavaScript Developer
    Prafull Jul 21, 2020
    2,583  Views
    5 Things Salesforce Lightning Does Better

    5 Things Salesforce Lightning Does Better

    Video in Lightning

    In this 30-minute recorded webinar, Jamie Grettum talked about her favorite Lightning features, how to set them up, and how to get hands-on experience with…

    Salesforce Lightning, How To Learn Salesforce Lightning, Lightning App Builder, How to Salesforce Lightning Component, Building Lightning Components in Salesforce
    Prafull May 18, 2018
    2,165  Views
    How To Become a Salesforce Developer [Perfect Guide for Beginners]

    How To Become a Salesforce Developer [Perfect Guide for Beginners]

    Video in Others

    Curious about a career in Salesforce development? Our video is your concise guide to getting started.  What's inside:→ The average salary for a Salesforce Developer…

    ENWAY Sep 5, 2025
    340  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.