<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"