Example: Initialize Behavior Error
This example illustrates an initialize behavior error:
/*********************************************************************** * Initialize Behavior ***********************************************************************/ idJDBReturn = JDB_InitBhvr(lpBhvrCom, &hUser, (JCHAR *) NULL, JDEDB_COMMIT_AUTO); if (idJDBReturn != JDEDB_PASSED) { jdeStrcpy (lpDS->szErrorMessageID, _J("078S")); if (lpDS->cSuppressErrorMessage != _J('1')) { jdeErrorSet(lpBhvrCom, lpVoid, (ID)0, _J(078S), (LPVOID) NULL); } return ER_ERROR; }