Grid to be filled with the data

Hi all,

I have a customization like when the user select the emplid from form,then on click of the PR tab , when a Pr tab grid is empty then automaticallyit has to fill in with the date from a table called Empl where the date exists already for that filtered employee.Where should i wrote method for the above logic and please can u give me any sample???.

Hi sindu,

just write the code in emplid modifield field …

select firstonly empl

where empl.emplid == prtable.emplid;

if (empl)

{

prtab.date= empl.date;

}