• Praveen Kumar 160
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Contact is parent and Case is child and am trying to run the following query.
Contact__c c=[Select Id, Name, (select Name from Case__r ) from Contact__c];

but query is gving me below error.

Didn't understand relationship 'Case__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.

i tried same kind of query for my another app it's working. y not here? errrrrrrrrrrrrrrrrr
Am just executing hello world statement.
System.debug('hello world');
developer console not showing any logs.
why?
please help me
Contact is parent and Case is child and am trying to run the following query.
Contact__c c=[Select Id, Name, (select Name from Case__r ) from Contact__c];

but query is gving me below error.

Didn't understand relationship 'Case__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.

i tried same kind of query for my another app it's working. y not here? errrrrrrrrrrrrrrrrr
Am just executing hello world statement.
System.debug('hello world');
developer console not showing any logs.
why?
please help me