alanjmartin
Technical User
I have been trying to write a script which will read data from a table and make a call to a remote site. So far so good.
At the moment I read the mscomm.input using Instr to find a fixed string, this is ok until it produces a different response.
I then need to grab the data fed back from the site and depending what is there produce a log entry.
Is there any way of taking the mscomm.input and using something like select statement to say if it finds "busy" do x; if it finds "clr do y.
Can anyone help?
Alan
At the moment I read the mscomm.input using Instr to find a fixed string, this is ok until it produces a different response.
I then need to grab the data fed back from the site and depending what is there produce a log entry.
Is there any way of taking the mscomm.input and using something like select statement to say if it finds "busy" do x; if it finds "clr do y.
Can anyone help?
Alan