>That works!
>
>I can deal with that. It looks like DESC is the only critical field out of the four fields that had reserved word names, so I can start replacing references in code and on the form and make a quick change in the cursoradapter.
>
>Thanks Borislav!
And to be more precise (because you could update not only Desc field) you should define class this way:
DEFINE CLASS ctest AS CursorAdapter
PROCEDURE BeforeUpdate(cFldState, lForce, nUpdateType, cUpdateInsertCmd, cDeleteCmd)
cUpdateInsertCmd = STRTRAN(cUpdateInsertCmd,[Desc=crstest.desc1],[tblTest.Desc=crstest.desc1])
ENDPROC
ENDDEFINE
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.