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 (4 items) Re: CurrentView.Export not triggering until exit [quote user="Gennady Vanin (Геннадий Ванин, Новосибирск)"]Why don't you generate PDF before the click? [/quote] The whole point of the click is to generate the PDF! The button is literally the "Generate PDF Button". The only way that I can see to get the PDF is to have two buttons on the form, one to generate the ... Posted to Views (Forum) by idleloop on 10-22-2012 Re: CurrentView.Export not triggering until exit This is a Filler/Client form, not browser. The problem is happening regardless of the existence of the target pdf file. In order to get around the problem, I have put a submit button on the form with "Show message if the form is submitted successfully" checked. Then I have put the code in the Submit Event nof the form. When the code ... Posted to Views (Forum) by idleloop on 10-21-2012 Re: CurrentView.Export not triggering until exit The code is executing in a button click. An export of the form in xml works, but the pdf will not execute until the button click event exits. It is as if the pdf export is async. The short term solution I have employed is to display a message after the button click and before the form close. This appears to be working, but is not an ideal ... Posted to Views (Forum) by idleloop on 10-21-2012 CurrentView.Export not triggering until exit I am having a problem with exporting to PDF from InfoPath 2010 Filler. It appears that the call to CurrentView.Export("c:\Temp",ExportFormat.PDF) is not executing until I exit the method that it is called from. The exported file (and the progress bar) is not appearing until I exit the method, and hence the file is not available to ... Posted to Views (Forum) by idleloop on 10-15-2012 Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.