Anuma
Actually I am wondering that according to you i should have "status" field in my form template, but i need to keep track of the workflow field(column) of form library, i.e., when that column get updated to "Approved" status, my submitted form template should open in Read-Only view. Do my requirement will suffice your code snippet? Any comments...
Thanks & Regards
Pankaj