submit button programming - InfoPath Dev
in

InfoPath Dev

submit button programming

Last post 05-02-2010 12:48 AM by g_v_jain. 16 replies.
Page 2 of 2 (17 items) < Previous 1 2
Sort Posts: Previous Next
  • 04-28-2010 10:39 PM In reply to

    Re: submit button programming

    use below code.. you have changed the name of autopsy field...  

    string autopsy_no = this.MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:autopsy.", this.NamespaceManager).Value;

    string save_location = "C:\\new folder\\"+autopsy_no+".pdf";

    this.CurrentView.Export(save_location, ExportFormat.Pdf);

    make sure "C:\\new folder"  exists

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 05-02-2010 12:48 AM In reply to

    Re: submit button programming

    Hi Anis,

    Thanks again.

    I guess I need some time off from all this technical stuff.

    Will get back to it after some time with a fresh mind.

    Will let u know how it turned out.

Page 2 of 2 (17 items) < Previous 1 2
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.