Error in Time mode

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Error in Time mode

  • Creator
    Topic
  • #49621
    ivan cintra
    Participant

    Hi,

Viewing 3 reply threads
  • Author
    Replies
    • #62753
      garry r fisher
      Participant

      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

    • #62754
      ivan cintra
      Participant

      Sure Garry. I made a mistake when I posted here.

    • #62755
      ivan cintra
      Participant

      Which the difference when tps running in a thread and test module?

      I think that the problem is here.

    • #62756
      garry r fisher
      Participant

      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

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10