Thanks Nadya!
>>What is a good way to find out if data on a form has changed and will require a (tabelupdate) save? I want to know so that the
>>"cancel" button will prompt "are you sure" before reverting the changes otherwise it will just clost the form. My fields on the form
>>are bound to the table field. Data is table buffered. Using vfp5.
>
>Not usre, it if works in VFP5.0(hopefully, it does):
>
>lnModified=GetNextModified(0)
> IF lnModified0 and lresp=0
> lresp=messagebox('Do you want to save changes?',36)
> ENDIF
> IF lresp=7
> =TABLEREVERT(.T.,THISFORM.laDE[i,1])
> ELSE
> *=TABLEUPDATE(.T.,.T.)
> =thisform.dotableupdate()
> ENDIF