• digerata
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
The following query gets a parent object's name

"Select  s.TUser__c, TUser__r.Name From TUser_Security__c s"

In Java, using the Partner WSDL,

get_any()[0].getValue() gives me the first column value

get_any()[1].getValue() returns null, so I'm obviously doing something wrong.

I can see that get_any()[1].getName() gives me the relationship name.

Please could someone point me in the direction of the way I get the value - the examples in the docs don't have parents.

Cheers
Andy

  • February 12, 2007
  • Like
  • 0
How do I make a Relationship query on Campain,CampaignMember,Lead so I retrieve all Leads for a given campaign in one query?