Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (5 items)
  • Re: Switch view before exporting and submitting

    Would it maybe be possible to temporarily open the print view in a dialog box or task pane or something in the background, and then export it from there?  Afterwards I could use code to close it and continue with the submit and close. I'm not sure how to do this...
    Posted to Views (Forum) by jmvdh on 04-17-2008
  • Re: Switch view before exporting and submitting

    I tried that, and it does print the print view when you print or print preview the form, but not when you export it.  I guess that is a 2007 feature only. My clients are all on 2003 still, so 2007 isn't an option. If anyone has any other ideas, please let me know... Thanks.
    Posted to Views (Forum) by jmvdh on 04-17-2008
  • Re: Switch view before exporting and submitting

    I'm calling my code from OnSubmitRequest, so I don't think I can use it again.  Here is my current code.  How do I reuse OnSubmitRequest? <InfoPathEventHandler(EventType:=InfoPathEventType.OnSubmitRequest)> _ Public Sub OnSubmitRequest(ByVal e As DocReturnEvent)     StartSubmit() End ...
    Posted to Views (Forum) by jmvdh on 04-16-2008
  • Re: Switch view before exporting and submitting

    OnSwitchView gave me the same error as before, but OnContextChange almost worked. The swiching view and exporting works fine but now it won't close the form.  I get an error: "Invalid context for OM call." I tried all the following close commands and they all generate that ...
    Posted to Views (Forum) by jmvdh on 04-16-2008
  • Switch view before exporting and submitting

    I have an InfoPath 2003 form that has two views ("data entry" and "print view").  When I submit the form, I use code to switch to the "print view" before I export the form and submit it. Here's my code: thisXDocument.View.SwitchView("Print ...
    Posted to Views (Forum) by jmvdh on 04-16-2008
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.