title: Apex - SalesForce - Accessing a Parent object field through Junction object
body: <p><strong>Hello Folks,</strong><br/></p>
  
  <p>I am working on customizing some functionality on the Force.com platform. I have a question for you; I am not too sure if this is possible!</p>
  
  <p><strong>What I have?</strong> : 2 custom objects - abc and pqr. Abc is the junction object between the Standard object Account and pqr i.e. Account is the parent of abc and then Pqr is the parent of abc. I am retrieving everything through these objects into a List of type Account (i.e. from Account object).</p>
  
  <p><strong>What I need?</strong> : I can access the abc object in Apex i.e. the First child of Account. Is there a possibility to access the fields of pqr through account?</p>
  
  <p><strong>What I have tried</strong> : Accessing the object through relationship name - Account.abc_<em>r[0].pqr</em>_r[0].FIELDNAME</p>
  
  <p>But it hasnt worked. <strong><em>Could some salesforce/apex developer help me with this?</em></strong></p>