Saving a form with a fixed name - InfoPath Dev
in

InfoPath Dev

Saving a form with a fixed name

Last post 10-13-2005 01:11 AM by tatopitta. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-12-2005 09:23 AM

    Saving a form with a fixed name

    I don't remember very well, but I suppose someone has just posted something similar to this...if so, forgive me, please; I'd like to know if I can set the name and the path of a form while saving it...i think that I have to use the OnSaveRequest Event...

    Maybe i can use the code in this post:
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=730

    Please, give me some ideas :)
  • 10-12-2005 09:35 AM In reply to

    Re: Saving a form with a fixed name

    That looks like what you would need to save a form from code...

    ---------------
    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 10-13-2005 01:11 AM In reply to

    Re: Saving a form with a fixed name

    Yeah Matt, I disabled the check box "Save and Save As" in the "Open and Save" panel of the Form Option and I added a button with only one line:
    XDocument.SaveAs("FixedPath\FixedName.xml")
    Now the form can be saved only with this name....anyway it can be renamed or replaced using operative system commands. This is the result I've obtained by now.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.