Setting Up ODBC Logging
Very odd
"Test" button performs exactly the same data check that is performed when you are loading table
Ok, there is another version at www.ks-soft.net/download/la504c.zip
What error it shows when you LOAD log?
Regards
Alex

Ok, there is another version at www.ks-soft.net/download/la504c.zip
What error it shows when you LOAD log?
Regards
Alex
H'm... according to the trace log contains just 1 record (2nd "SQL_FETCH_NEXT" command fails with error "SQL_NO_DATA_FOUND").
How many records displayed when you click "Test" button? 135??
But this is impossible...
"Test" and "Load" functions use the same query. I see this query in the log: select date1, eventtime, fullpath, status, reply, testname from hmlog order by fullpath, testname, date1, eventtime
BTW: You still using 2 fields "date1" and "eventtime".
If you use %datetime% variable, you don't have to use 2 different fields for date and time. Set "eventtime" for both fields: date, time. In this case Log Analyzer will retrieve date and time from single field.
Regards
Alex
How many records displayed when you click "Test" button? 135??
But this is impossible...
"Test" and "Load" functions use the same query. I see this query in the log: select date1, eventtime, fullpath, status, reply, testname from hmlog order by fullpath, testname, date1, eventtime

BTW: You still using 2 fields "date1" and "eventtime".
If you use %datetime% variable, you don't have to use 2 different fields for date and time. Set "eventtime" for both fields: date, time. In this case Log Analyzer will retrieve date and time from single field.
Regards
Alex
H'm... at least LA accepts all other fields. Staus field check is the last check.
There is another version at the same location www.ks-soft.net/download/la504c.zip
It will show what exactly value Log Analyzer retrieves from status field
May be you have mixed "status" and "reply" fields in database?
Regards
Alex
There is another version at the same location www.ks-soft.net/download/la504c.zip
It will show what exactly value Log Analyzer retrieves from status field
May be you have mixed "status" and "reply" fields in database?
Regards
Alex
Alex, more info for you...
There are 3 rows in my hmlog table. My previous test only reported an error on Records 1 and 2.
I tried this:
In the ODBC setup instead of setting "Status" to status, I set it to the number "1". The test succeeds on records check and the log displays the actual records for row 1 and 3 of the hmlog table.
Not sure if this helps...
There are 3 rows in my hmlog table. My previous test only reported an error on Records 1 and 2.
I tried this:
In the ODBC setup instead of setting "Status" to status, I set it to the number "1". The test succeeds on records check and the log displays the actual records for row 1 and 3 of the hmlog table.
Not sure if this helps...