function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rahul soni 20rahul soni 20 

TOPPER POSITION?

Please design the solution accordingly : 

custom objects : university, college, student 
WE NEED TO POPUP THE COLLAGE TOPPER IN COLLAGE TAB ACCORDING TO STUDENT HIGHEST MARKS

UNIVERSITY LOOKUP COLLAGE
COLLAGE    LOOKUP STUDENT



 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Rahul,

I think you should be able to use soql to fetch the id of the highest score and using which you can get the respective details.

You can change this according to your requirement, in case if you found the above information useful can you please choose this as the best answer so that it can be used by others in the future and also helps in keeping our community clean.

Regards,
Anutej
rahul soni 20rahul soni 20
HI ANUTEJ,
I am new to this that is why struggling in this. I know the things but not able to write down the right code. .