Wednesday, January 5, 2011

Retrive Effective Dated Row

GetCurrEffRow() Methode is used to get the current effective dated row.
Lets consider the following code.
 
/* GetCurrEffRow()*/
Local Rowset &ROWSET;

&nCurrentRowNo = CurrentRowNumber(1);
&Row = GetLevel0()(1).GetRowset(Scroll.MY_TBL)(&nCurrentRowNo);
If %Mode = "U" And
   Row.isnew = False Then
   &ROWSET = GetLevel0()(1).GetRowset(Scroll.MY_TBL)(&nCurrentRowNo).GetRowset(Scroll.MY_DOC_REC);
   &NUMBER = ROWSET.GetCurrEffRow().RowNumber;
   &ROWSET(&NUMBER).FILE_ATTACH_WRK.ATTACHADD.Visible = False;
End-If;
  

0 comments:

Post a Comment