|
<< Click to Display Table of Contents >> C Examples: DbiSaveChanges |
![]() ![]()
|
Save changes to the specified table name.
Save changes to the specified table name. The table must be open on the current session. This example uses the following input:
fDbiSaveChanges(hCursor);
DBIResult fDbiSaveChanges (pCHAR TblName)
{
DBIResult rslt;
hDBICur hTmpCur = 0;
rslt = Chk(DbiGetObjFromName(objCURSOR, TblName, &hTmpCur));
if (rslt != DBIERR_NONE)
return rslt;
rslt = Chk(DbiSaveChanges(hTmpCur));
return rslt;
}