Example: Text Substitution in an Error Message
This example uses text substitution in JDB_OpenTable:
/************************************************************** * Open the General Ledger Table F0911 *************************************************************/ eJDBReturn = JDB_OpenTable( hUser, ID_F0911, ID_F0911_DOC_TYPE__NUMBER___B, idColF0911, nNumColsF0911, (JCHAR *)NULL, &hRequestF0911); if (eJDBReturn != JDEDB_PASSED) { memset((void *)(&dsDE0022), 0x00, sizeof(dsDE0022)); jdeStrncpy((JCHAR *)dsDE0022.szDescription, (const JCHAR *)(_J("F0911")), DIM(dsDE0022.szDescription)-1); jdeErrorSet (lpBhvrCom, lpVoid,(ID)0, _J("078D"), &dsDE0022); }