Thanks, one more question, after getting meta data of documents and submitting the form and create the new form for example with the name (TT-0001) , I need to update one column in the main list i have got document from that. for example for each document i have added to InfoPath form, i need to update one column in the main list and put (TT-0001) also there. I like to know how is possible?