Hi Dave, tnx for the quick reply,
Saw you are living in South Africa, Hope to get there sometimes, my wife has a lot of relatives living over there nere kaapstad.
for our problem:
C:\Program Files\Log Parser 2.2>logparser "select * from c:\faxlog\outboxlog.txt where to_int(\"Retries\")>1" -i:tsv
Error: Header for file "c:\faxlog\OutboxLOG.txt" contains an empty field name declaration
C:\Program Files\Log Parser 2.2>
I receive an error when just using -i:TSV
I have managed to read the file but needed to import the original log into Excel and then save it as a comma separated files (separated by ;) then had to make a find/replace for ; to , and after that i could read the file but even then i dont get it in the right format because some of the fields are left blank, logparfser put the last found value in the first free column,
eg: my billingcode in recepients name for example.
+ we where trying to send faxes from out of our database, and such include our unique record ID in the field BillingCode
So the idea is to get in certain time intervals to read out the logfile searching for those record id's in the column Billingcode.
So our statement should match:
Logparser "select Status from OutboxLog.txt where to_int(\"Billingcode\") = 123454321" logparser params
This should give you 2 results with i file i provided but i find 0 results here,,
Searching SQL wise is not a problem, in that im pretty good at it, but can't get the Logparser to work as it should.
Hope that you can help me.
Tnx in advance.
Eddy