You need to sign in to do that
Don't have an account?
LinThaw
How to get event records of Max date for each Account?
Hi there,
We need to get one of event record fields including(Id, AccountId, customField1, StartDateTime) for each Account, which startDateTime is max.
Is possible to get as following result?
Thanks & Regards,
LinThaw
We need to get one of event record fields including(Id, AccountId, customField1, StartDateTime) for each Account, which startDateTime is max.
Is possible to get as following result?
Thanks & Regards,
LinThaw
I want [customField1] field too, is possible?
I think we must use order by and make some logic in apex,
to get other fields we want.
Regards,
LinThaw
Thanks for your quick reply.
If we use [customField1] in Group By,
we don't get one exact record for Account.
Regards,
LinThaw