Refresh a drop-down list box? - InfoPath Dev
in

InfoPath Dev

Refresh a drop-down list box?

Last post 08-15-2011 10:51 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-12-2011 10:16 AM

    Refresh a drop-down list box?

    I have a form that has a drop-down that displays items from a SharePoint list.  The drop-down has rules to set other fields related to that item from the SP list.   In the form, there is also a button that switches views to an "edit item" view for the items chosen in the drop-down.  After the user has submitted the edits, it switches back to the main view, where for now, I have set it to clear the drop-down to blank.

    Is there a way to refresh the drop-down to display the updated item, with the updates from SharePoint?

    Also, this is in a repeating section, so it would be neat if it would just set the item that is in the section that was being edited. 

  • 08-15-2011 03:47 PM In reply to

    Re: Refresh a drop-down list box?

    Hi Shniggens,

    Are you using qRules in this form? If so, why not just use the RefreshListItems command? You can constrain it to the row you want to update using rules and current().

    Sorry for the delay in responding,

    Patrick Halstead
    Project Manager at Qdabra
  • 08-15-2011 07:01 PM In reply to

    Re: Refresh a drop-down list box?

    But the drop-down kicks off the rules that set the other fields.  It needs to be "reset" somehow to kick off those rules again.  And it needs to be set to the item that was just edited in the other view.  When it switches views from the edit view, I have it query the list.  This works fine once you pick the item again from the drop-down . . . the updates are there (since they were submitted to a list).

  • 08-15-2011 10:51 PM In reply to

    Re: Refresh a drop-down list box?

    I'm still confused. Is this qRules?

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.