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 / November 2004

Tip: Looking for answers? Try searching our database.

Saving Forms by Default Name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Umesh Bagalur - 29 Nov 2004 12:15 GMT
Hi Pals,

I have come across this question by my PM.

I have form when open it for filling out and after fill the forms, when
saving; by default form name will be "Form1" or continuation of the series.

But the question is...

Form can be saved by custom Name format for Ex.: "idName1" and the continued
series.

Is possible please help me regarding.... how it can be implemented..

Awaiting results

Thanks and Regards,
Umesh
Michelle - 29 Nov 2004 21:19 GMT
Umesh

You can set the default name of the form when saving a couple ways depending
on your needs.

(1) Submitting using a datasource
   (a) to Sharepoint form library - you can set the file name
   (b) email - you can set the attachment name

(2) Tools>Form Options
     Select the Open and Save Tab, check the Save using custom code
checkbox and then edit the code (see below for example)
(3) Tools>Submitting Forms
    Select the Enable submit commands and buttons, select custom code and
then edit code (see below for example)

Via code.  This example is using C# and is triggered by the OnAfterChange
event of a control:
if (e.NewValue != null && e.NewValue.ToString() != "")
{
    thisXDocument.UI.SetSaveAsDialogFileName(e.NewValue.ToString());
}

> Hi Pals,
>
[quoted text clipped - 14 lines]
> Thanks and Regards,
> Umesh
 
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.