Hi,
// use below code in datasource refresh of field modified or depends on your requirement
public void refresh()
{
int i;
//Alfasith to retain the cursor position by getting the position and setting the position
i = dnSalaryCalculationTrans_ds.getposition();
// info(int2str(i));
if(i != 1) // Declare the k & m as int in global declaration
m = i;
if(!(k == m && k == i))
k = m;
if(k)
{
dnSalaryCalculationTrans_ds.research(); // Data source that I used
dnSalaryCalculationTrans_ds.refresh();
dnSalaryCalculationTrans_ds.setposition(k);
}
super();
}
Regards,
No comments:
Post a Comment