>Thank you all for your input. This was great.
>Colombo.
One more addition -- a quick way to test if there are any changes of ANY kind in the current record:
SET EXACT OFF
IF REPLICATE('1',256) != GETFLDSTATE(-1)
***There was a change
ENDIF
To see if there are changes in records anywhere in the current table, use
nModifiedRecordNumber = GetNextModified( nStart [, cAlias | nWorkArea ] )
nstart = 0 (find first changed record);
nstart = positive number (find changed record from the nstart -position)
Note: you need to use table buffering for GetNextModified()