Error in Time mode Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Error in Time mode Search for: This topic has 4 replies, 2 voices, and was last updated 16 years, 10 months ago by garry r fisher. Creator Topic October 31, 2007 at 8:05 pm #49621 ivan cintraParticipant Hi, Creator Topic Viewing 3 reply threads Author Replies November 1, 2007 at 10:48 am #62753 garry r fisherParticipant Hi, Don’t you have to execute the statement first before you can return anything? i.e. odbc SQLAllocHandle SQL_HANDLE_STMT $hdbc hstmt odbc SQLExecDirect $hstmt $sql SQL_NTS # mapeando campos odbc SQLNumResultCols $hstmt ColumnCountPtr for {set x 1} {$x<=$ColumnCountPtr} {incr x} { set valRes [concat val$x] odbc SQLBindCol $hstmt $x SQL_C_CHAR $valRes 200 pcbValue1 Regards Garry November 1, 2007 at 11:48 am #62754 ivan cintraParticipant Sure Garry. I made a mistake when I posted here. November 1, 2007 at 4:55 pm #62755 ivan cintraParticipant Which the difference when tps running in a thread and test module? I think that the problem is here. November 2, 2007 at 9:20 am #62756 garry r fisherParticipant Hi Ivan, As you say your code is fine so I don’t know why its treated differently in the test tool compared to running as a thread. Lets hope somebody else does. Regards Garry Author Replies Viewing 3 reply threads The forum ‘Cloverleaf’ is closed to new topics and replies.