Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (5 items) Re: How to use field value to create the path for export method? Excellent - got that to work for the sections, thank you! Now, if I can get the .pdf quality increased this will be ready to go. I'll keep searching on that one. Posted to General (Forum) by NewbieBlues on 10-21-2013 Re: How to use field value to create the path for export method? It switches the view and executes the export. From searching more, it seems the switch is the issue and that a lot of VB coding is necessary to overcome it (all of it beyond me). That made me realize perhaps I'm overthinking it. If I instead used a single view with a page break, and set the page design properties to ... Posted to General (Forum) by NewbieBlues on 10-21-2013 Re: How to use field value to create the path for export method? Thank you - I 'm executing the code from a button. I will search online for the error message. Thanks! Posted to General (Forum) by NewbieBlues on 10-21-2013 Re: How to use field value to create the path for export method? Thank you! Yes, you are correct: I had the wrong XPath. (sigh, ignorance is not bliss...) I've corrected it and now receive an error message that "InfoPath cannot execute any view-related object model calls. The view is not ready." I had the same results when I instead tried to hardcode the value in the ... Posted to General (Forum) by NewbieBlues on 10-21-2013 How to use field value to create the path for export method? Hello all, I tried to modify Me.CurrentView.Export("C:\MyView.pdf", ExportFormat.Pdf) by replacing "C:\MyView.pdf" with a field value. My form's filename will change each time it's generated and I am trying to create a button that will switch the view, then export that view to a .pdf file saved to ... Posted to General (Forum) by NewbieBlues on 10-20-2013 Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.