InfoPath Form Reset Main Data Connection - InfoPath Dev
in

InfoPath Dev

InfoPath Form Reset Main Data Connection

Last post 06-15-2014 04:40 PM by donstephen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-12-2014 05:40 AM

    InfoPath Form Reset Main Data Connection

    I'm building an InfoPath form connected to a SharePoint List. After the user has filled out a couple of fields (which can uniquely identify a record), I re-query the main data connection to see if the item already exists. This works fine and loads the remaining details of the existing record into the form. However, if the record does not exist, all the fields on the form become disabled... how can I reset the main data connection back to its initial state to allow a new item to be submitted?
  • 06-15-2014 04:40 PM In reply to

    Re: InfoPath Form Reset Main Data Connection

    Hi Gvantsa,

    I believe that resetting a data connection is possible out of the box. In cases like this, assuming that you are disabling controls based on the item/s returned from a query, I would suggest using a hidden Boolean field instead. This way you can easily manipulate the disable logic by setting the Boolean field to either true or false. I hope this makes sense.

    Regards,

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.