Dear readers, We are trying to use the VBscript Action to insert some details into a SQL after which we can automaticlly generate a support ticket. But it seems my best days of VBscriptin is over and i keep having an issue.
The code used can be seen above. This gives the error that Date is not a correct Syntax (But its the variable used by PA Monitor) If i replease the VALUES string with (Clear text instead of the PA Variables)
Basiclly this script runs everytime a monitor is in error for 5 minutes and inserts Date string, Machine name Monitor type, MonitorTitle and the Error Details to a SQL table which is being used by our Workflow tool. it inserts what i want it to. Can anyone advise on what i am doing wrong in this case? Regards, Mike Sternfeld asked 31 Oct '12, 05:29 Msternfeld |
I think you probably need to change it to: VALUES ('" + Date + "', '" + Machine + "', '" + MonitorType + "', '" + MonitorTitle + "', '" + Details + "')" answered 03 Nov '12, 10:18 Doug ♦♦ |