Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Change default file name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Pembroke - 29 Jun 2007 15:22 GMT
When the user clicks the file -> save, the file name defaults to form1.  I
would like to dynamicaly change the form name.

I tried making a change to the  OnSaveRequest event.

I was able to get the filename by calling XDocument.URI.  When I tried
changing the name, I get a script error (XDocument.URI = "test".

Also want one of the fields on my form to be part of the filename.  I do I
retrieve the data from the field using the script language.
Ramana - 30 Jun 2007 04:44 GMT
Hi,

yes, you can use the one of the field in your form as name of your form.
Signature

k.Ramana Reddy
http://www.autonomysystems.com

> When the user clicks the file -> save, the file name defaults to form1.  I
> would like to dynamicaly change the form name.
[quoted text clipped - 6 lines]
> Also want one of the fields on my form to be part of the filename.  I do I
> retrieve the data from the field using the script language.
Kalyan Reddy - 03 Jul 2007 08:22 GMT
Hello Brian

Please visit this link
http://www.infopathdev.com/forums/thread/5621.aspx
Hope this will help you.

Signature

Kalyan Reddy
Visit
www.ggktech.com

> When the user clicks the file -> save, the file name defaults to form1.  I
> would like to dynamicaly change the form name.
[quoted text clipped - 6 lines]
> Also want one of the fields on my form to be part of the filename.  I do I
> retrieve the data from the field using the script language.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.