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 2005

Tip: Looking for answers? Try searching our database.

Button to Save As <Field Entry>

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PlehDeen - 04 Nov 2005 21:13 GMT
<Below> was submitted by Martin back in '04 but he didn't get any
information.  I am trying to do the same thing...can anyone help?  I am
very novice when it come to the coding part of the button.  Thanks guys
(and gals)!

"Hi guys,
I have an Infopath Form linking to a Sharepoint Library. Everything
works
out fine.

What I would like to add is:
Currently, Users have to click on Save and then type in the name of the

document. Is it possible to fill this field automatically with the
Value of
a field on the Infopath Form? Meaning, if I type in "Example" into the
relevant Text Bos and hit save I will get the the Save as Dialog and as
Name
the value "Example".

Thanks for your help,
Martin"
samir.mistry@gmail.com - 04 Nov 2005 21:53 GMT
thisXDocument.UI.SetSaveAsDialogLocation(dirPath);
thisXDocument.UI.SetSaveAsDialogFileName(fileName);
e.IsCancelled = e.PerformSaveOperation();
e.ReturnStatus = true;

Regards
Sam

> <Below> was submitted by Martin back in '04 but he didn't get any
> information.  I am trying to do the same thing...can anyone help?  I am
[quoted text clipped - 18 lines]
> Thanks for your help,
> Martin"
 
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.