Blank Data Fields When Form Opens - InfoPath Dev
in

InfoPath Dev

Blank Data Fields When Form Opens

Last post 09-24-2014 09:30 AM by jlarremore. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-23-2014 02:10 PM

    Blank Data Fields When Form Opens

    I have an IP 2010 form that queries a SP 2010 list. I'm using a secondary data source, one query field and a button to query the list. When the form opens, all the list items appear. How do I get the list items to not be seen when the form opens? Jef
  • 09-24-2014 08:28 AM In reply to

    • RaYvA
    • Top 100 Contributor
    • Joined on 05-09-2013
    • Melbourne, Australia
    • Posts 86

    Re: Blank Data Fields When Form Opens

    Probably the easiest way is not to query the data source when the form opens.

    On your data connection one of the last options you get to set is "'Automatically retrieve data when form is opened' Note: Your form will open [sic] more quickly if you delay data queries until the data is needed. To do this, create a rule to query data hen a button is clicked or when the value of a field changes."

    Untick this box.

    You now need to manually query the data source which you do from your button.

    if you need to filter the data source then set one of the QueryFields on the data source prior to retrieving data.

  • 09-24-2014 09:30 AM In reply to

    Re: Blank Data Fields When Form Opens

    Perfect. Exactly what I was looking for.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.