in

InfoPath Dev

Getting Values From Another InfoPath File

Last post 09-30-2008 11:19 PM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-30-2008 09:59 AM

    • rbenko
    • Not Ranked
    • Joined on 09-30-2008
    • Posts 1

    Getting Values From Another InfoPath File

    When users open one of our forms, we would like to let them click on a button to import values from another InfoPath form.  For example, they need to submit a new form every month, but some of the data is the same each month.  If I add a button to the top of the form entitled "Import", what would be in that button's click event?  Can someone provide sample code that opens an InfoPath file and reads in data that can be used by the currently open file?  Thanks.

    Roman

  • 09-30-2008 11:19 PM In reply to

    Re: Getting Values From Another InfoPath File

    Hi,Get the other form values using the getlistitems web method which is explained in the following link.http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspxAfter getting the other form values set the values to your form.

     

    Swathip
    www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.