How to Add MAX / MIN Record Functionality in Apex | | Lecture 59 (Part 2)

Опубликовано: 13 Ноябрь 2024
на канале: Knowledge Sign
402
6

For More Videos,

Please Subscribe my Channel:
   / @knowledgesign22  

Code:
-----------------------------------------------------------------------------------------------------------------------
Create a process for the next button:

begin

select MAX( primarykeydefine)

into :P2_PRIMARY

from tbl ;

exception when others then

null;

end;

5 - Create a process for the previous button

begin

select MIN(primarykeydefine)

into :P2_PRIMARY

from tbl
exception when others then

null;

end;




Social Media links:
Facebook:
  / sharjeelrehmi  

Emails:
[email protected]

Twitter:
  / sharjeelrehmi