This statement sets the status of row 5 in the Salary column of the primary buffer of dw_history to NotModified!:
dw_history.SetItemStatus(5, "Salary", &
Primary!, NotModified!)
This statement sets the status of row 5 in the emp_status column of the primary buffer of dw_new_hire to DataModified!:
dw_new_hire.SetItemStatus(5, "emp_status", &
Primary!, DataModified!)
This code sets the status of row 5 in the primary buffer of dw_rpt to DataModified! if its status is currently NewModified!:
dwItemStatus l_status
l_status = dw_rpt.GetItemStatus(5, 0, Primary!)
IF l_status = NewModified! THEN
dw_rpt.SetItemStatus(5, 0,
Primary!, DataModified!)
END IF
/* Modified ! */
dw_main.GetNextModified(0, Primary!)