Allow only one new form template to be opened - InfoPath Dev
in

InfoPath Dev

Allow only one new form template to be opened

Last post 05-21-2010 04:08 AM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-21-2010 01:19 AM

    Allow only one new form template to be opened

    Hi

    I have a infopath template in a SP Doc Library.  The form has rules set to auto number the forms on open, this works fine.  However if I have one new form open and another user also clicks on the new button, before the other form has been submitted it causes me submit problems.  Is there any way to stop this occuring?  I have some VB.net code behind the form to submit.   Is there any checks I can do to prevent more than one new form to be opened at any one time?

    Regards

     

    Chas

     

  • 05-21-2010 04:08 AM In reply to

    Re: Allow only one new form template to be opened

    create a recieve data connection to your doc lib and get ID from the connection, just before submitting(for first time submit) query the data connection and fetch the highest ID and use that for the naming purpose

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.