I have a custom list which has many data connections

in the Infopath data connections when I add connection I unchecked the automatically load data

now in my dropdowns which are connected to the data connections it does not loads data. how can I query and set the dropdowns data on change of field not on load of the form

1 Answer 1


you can do that by following the below steps in your info-path form:

1- go to your field that should triggers the data loading and right click

2- select Rules-Manage Rules

enter image description here

3- At the rules window on the right of the screen , click new - Action to create a new Action rule

enter image description here

4- on Run These Actions add two actions

  1. Set Field Value, which you should set the Query value in your Data conection

    enter image description here

  2. Second action is Query using Data connection and select your data connection

    enter image description here
  • Thanks, I actually put the rule in different control which was not working and that made my day ha ha.
    – MJ X
    Feb 26, 2018 at 12:03
  • 1
    @MehdiJalal welcome, glad i could help
    – A.Saéed
    Feb 26, 2018 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.