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

Can I pull up records from a 2 objects that have a look-up relationship?
I have custom object A that had a lookup relationship with custom object B. on a Visualforce page I want to pull up records from custom object B. I would make a master detail realtionship but custom object B already has one. Any thoughs on if this is possible?
Retrieve data from Lookup Relationship object We Can Query based on
SOQL Relationship.
Basic Examples of SOQL RELATIONSHIPS:
Child > Parent (Standard Object)
Child >Parent(Custom Object)
Parent >Child(Standard object)
Parent >Child (Custom Object)
- https://developer.salesforce.com/blogs/developer-relations/2013/05/basic-soql-relationship-queries.html
I hope it will be helpful.Please mark it as best answer if the information is informative.
Thanks
Rahul Kumar