J
Josh
I am trying to make it so that my users are not able to use the same
form over and over again (as it is causing problems). I want the
functionality in code to Print the document, notify the user via a
message box, and open a fresh version of itself. Here is what I have,
but is not working:
function PrintButton::OnClick(eventObj)
{
XDocument.PrintOut();
XDocument.UI.Alert("Your notification has been sent to the
printer.");
Application.ActiveWindow.Close(true);
var oForm =
Application.XDocuments.NewFromSolution("M:\\CCNTRL\\mtgrec\\MSIPForms\\QualityCheck.xsn");
//form printed and current form closed
//user now must start from fresh form
any help that could be thrown my way is GREATLY APPRECIATED!!!
and on another note... I know that in order to submit to an e-mail
address, MSOutlook must be the default e-mail handler, however I was
wondering if this could be done through code using Lotus Notes as the
email program. I am still in a "crash course" of JS but this has gotta
be possible!?!?!
Thanks again
-Josh
form over and over again (as it is causing problems). I want the
functionality in code to Print the document, notify the user via a
message box, and open a fresh version of itself. Here is what I have,
but is not working:
function PrintButton::OnClick(eventObj)
{
XDocument.PrintOut();
XDocument.UI.Alert("Your notification has been sent to the
printer.");
Application.ActiveWindow.Close(true);
var oForm =
Application.XDocuments.NewFromSolution("M:\\CCNTRL\\mtgrec\\MSIPForms\\QualityCheck.xsn");
//form printed and current form closed
//user now must start from fresh form
any help that could be thrown my way is GREATLY APPRECIATED!!!
and on another note... I know that in order to submit to an e-mail
address, MSOutlook must be the default e-mail handler, however I was
wondering if this could be done through code using Lotus Notes as the
email program. I am still in a "crash course" of JS but this has gotta
be possible!?!?!
Thanks again
-Josh