You need to sign in to do that
Don't have an account?
AgPrerna
MAX(Date column) from related objects
I have a custom object- Object__c which has a look up to Account.
Object__c has a field Start_Date_Time__c.
I want to get records(Object__c) for each Account with Maximum value of Start_date_Time__c.
TIA
Object__c has a field Start_Date_Time__c.
I want to get records(Object__c) for each Account with Maximum value of Start_date_Time__c.
TIA
Greetings!
Please find the below sample SOQL query which you can use to query the Max date as below:
Reference:https://developer.salesforce.com/forums/?id=9060G000000BfeYQAS
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
All Answers
Greetings!
Please find the below sample SOQL query which you can use to query the Max date as below:
Reference:https://developer.salesforce.com/forums/?id=9060G000000BfeYQAS
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri