Detect if a row is new

dwitemstatus    rowstatus
IF dw.GetRow() > 0 THEN
   rowstatus = dw.GetItemStatus( dw.GetRow(), 0, Primary! )
   IF rowstatus = New! OR rowstatus = NewModified! THEN
      // new row
   ELSE
      // not new
   END IF
END IF



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2010
[ home ]