Create save button and disable 'save as'

D

danlin99

The published form is initially filled-out by our contracts person, saves
the xml form using the contract number for filename and then e-mail the
reviewers for their comments. We need a centralized repository of comments
from reviewers so to prevent reviewers from saving multiple copies of the xml
form, I need a 'save' button that gets the value of the Contract Nbr field
for the file name and then close the form. I already know how to disable the
'save as' button.

Example:
Contract Nbr: 4008-06
Folder to save at: \\everest\contract\
Saved file:\\everest\contract\4008-06.xml

Don't know about jscript so please give me the complete code. Thanks so much.
 
S

Sheetal D [MSFT]

Hi,

Please go through the following link for more information on "Extending the Save Functionality in InfoPath 2003":
http://msdn.microsoft.com/library/en-us/odc_ip2003_ta/html/odc_InfoPath_extending_save.asp

Best Regards,
Sheetal .D
Microsoft Developer Support
Blog: http://sheetal-d.spaces.live.com/

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Create save button and disable 'save as'
thread-index: AcbHHcwdziAzTjblQDe0yegMGd//Lw==
X-WBNR-Posting-Host: 198.22.38.5
From: =?Utf-8?B?ZGFubGluOTk=?= <[email protected]>
Subject: Create save button and disable 'save as'
Date: Wed, 23 Aug 2006 18:37:01 -0700
Lines: 15
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.infopath
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.infopath:31521
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.infopath


The published form is initially filled-out by our contracts person, saves
the xml form using the contract number for filename and then e-mail the
reviewers for their comments. We need a centralized repository of comments
from reviewers so to prevent reviewers from saving multiple copies of the xml
form, I need a 'save' button that gets the value of the Contract Nbr field
for the file name and then close the form. I already know how to disable the
'save as' button.

Example:
Contract Nbr: 4008-06
Folder to save at: \\everest\contract\
Saved file:\\everest\contract\4008-06.xml

Don't know about jscript so please give me the complete code. Thanks so much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top