sql query was working properly but i changed my server and now it is odbc server 32 bit :
my query is as follows:
INSERT INTO [GLENTRY$$] (SL_NO, JD_MAIN_ACNT_CODE, JD_DIVN_CODE, JD_DEPT_CODE, JD_EXCH_RATE, JD_CURR_CODE, JD_DRCR_FLAG, JD_FC_AMT, JD_LC_AMT, JD_DESC) VALUES ('$strSerialNumber$', '$strJD_MAIN_ACNT_CODE$', '$strJD_DIVN_CODE$', '$strJD_DEPT_CODE$', '$strJD_EXCH_RATE$', '$strJD_CURR_CODE$', '$strJD_DRCR_FLAG$', '$strDebitAmount$', '$strDebitAmount$', '$strJD_DESC$')
i get the syntax error with timeout message There is a syntaxical error in the message box