Hi Friends,
For scenario like i want to increase Emplid value when am click search page automatically.
It is possible in Rowinit Peoplecode.
Sample Code:
If %mode = "A" then /*A Means add mode */
SQLExec("Select max(Emplid) from ps_abc",&a); /* &a is a variable */
&a=&a+1;
PS_ABC.Emplid.value=&a;
gray(PS_ABC.Emplid);
end-if;
Regards,
Mahendra