Hi please kindly advise. I am running this query
Set objinputFormat = CreateObject("MSUtil.LogQuery.TEXTLINEInputFormat")Set objOutputFormat = CreateObject("MSUtil.LogQuery.TSVOutputFormat")objOutputFormat.fileMode = 0
objOutputFormat.headers = "Auto"
strQuery = "select top 1 text INTO '\\h505050\C$\wamp\www\helpdesk\nw_audits\" & remote_host & ".txt'" & " from '\\h505050\C$\wamp\www\helpdesk\pc_audits\telent_mac_list\*.txt' where text like '%" & mac_add & "%'"
And it works fine, expect that for some reason, ach time I run the query I get this
Text
212,00:17:a4:4e:41:6a,---,1/9,Level 1 Parkwood House @ HH, 192.168.215.149
The word Text appears + the line of data I actually want. Can some one please tell me how to stop the 1st line TEXT appearing in the output, thank you Regards hg363 UK