Table buffer for alias "name" contains uncommitted changes (Error 1545)
The named cursor has a modified table buffer and these changes must be explicitly committed, using TABLEUPDATE( ), or discarded, using TABLEREVERT( ), before either the cursor can be closed or the buffering mode changed.