vuser_init.c(289): lrd_stmt: ERROR, return-code=LRDE2003. SqlType=SQL_TYPE_DATE;

code :

lrd_close_cursor(&Csr17, 0);
lrd_open_cursor(&Csr18, Con2, 0);
lrd_stmt(Csr18, "SqlType=SQL_TYPE_DATE;", -1, 3, 4 /*SQLGetTypeInfo*/, 0);
lrd_bind_cols(Csr18, BCInfo_D289, 0);
lrd_fetch(Csr18, -1, 1, 0, PrintRow36, 0);

i have three error corresponding to same,one is date, me date error how i fix it,one way i did is continue on error,but how do i fix it.
thanks in advance.