Programattically Saving InfoPath Title - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Programattically Saving InfoPath Title

Last post 10-01-2009 08:41 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-01-2009 09:41 AM

    Programattically Saving InfoPath Title

    Ok, what I want to do I think is very straight forward, but then again... maybe not.


    I want to have my InfoPath form's document name to be based on a value of a field on the form for the initial save (This is going to a Form Library on SharePoint).  I also don't want to give the user to change it, unless they do "Save As". 

    Field: ProjectName = "MyFirstProject"

    Document Name = "MyFirstProject.xml"

     I used to do a lot of VB coding back in the day, and think that this is possible.  I can do this in Visual Basic or C# if someone can give me some direction.

     BTW, this is InfoPath 2007 on a WSS 3.0 site.



  • 10-01-2009 08:41 PM In reply to

    Re: Programattically Saving InfoPath Title

    try creating a custom save button and write following code on it form name);

    that should help

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.