How do I determine if RecordSet has been modified?
I am directly modifying oRs:field using GET or this is not the right approach?

Code: Select all | Expand
aModifed := oRs:ModiCols()
xbrowser aModified
Code: Select all | Expand
oRs := oCn:customer // we can quickly open a table like this also.
oRs:Edit() // to edit current record
oRs:Edit( .t. ) // to append a new record
Code: Select all | Expand
oRs := oCn:customer
oRs:bEdit := { |oRec| MyEditDialog( oRec ) }
oRs:Edit()
....
...
function MyEditDialog( oRec )
local lNew := oRec:RecNo == 0
local oDlg
DEFINE DIALOG oDlg ........
<all your gets here>
ACTIVATE DIALOG oDlg
return nil
Code: Select all | Expand
...
oRs:bEdit := { |oRec| MyEditDialog( oRec ) }
oRs:Edit()
...
As for oRs:Save(), which I directly edit oRs:field, use of oRec = oRs:Record() is most logical and safer.. I will revise my coding.