= P4 'DUCT_BNR:XI1138.CIN' Then send it on up to the message line for debugging purposes (so you can read the value) msglin "P4= $P4" Then if you are getting the value you want use it in your if statement: == $P4 1 bla bla bla Some of my syntax may be wrong because I am going off memory here, but I hope you get the idea. Peter _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave