You searched for the word(s): 2
-
I'm not sure that there is a good place for you to do this. As you state there is no OnClose, or OnExit or anything like it.
ONE possibility is to have a close button on your form. And in the code for that button you perform your tasks. If you have a way to lock down the application from being shut down in any other way, then this would make ...
-
No problem. Glad to help out.
Greg Collins [InfoPath MVP]
-
The logic you are using makes sense. I'm not sure why it is not working. One thought is that you are mixing TRUE/FALSE and 1/0. Just to recap:
Promotion Rule:
Condition: Promotion == 1
Action 1: Demotion = 0
Action 2: Salary Change = 1
Demotion Rule:
Condition: Demotion == 1
Action 1: Promotion = 0
Action 2: Salary Change = 1
If ...
-
Hi All,
I am using the InfoPath OnLoad event for disabling certain menus.
Ideally i would like to re enable these menus when the user closes the
form. As there is no OnClose event i looked at the _Shutdown event.
I would like to understand why the _Shutdown event cannot be used for
such processing?
many thanks
Scott
-
I have the following set of check-boxes
|| Promotion
|| Demotion
|| Salary Change
If I check Promotion, Salary Change should also be selected. If Demotion was previously checked, it should become unchecked. Similarly, if Demotion is checked, Salary Change should be checked and Promotion must be unchecked if it was checked.
This is supposed to ...
-
I'd like to add a new record with javascript
i used this code
XDocument.View.ExecuteAction(''xCollection::insert'', ''new_rec'');
it's ok but i have to show just the new record and hide the other ones.
the action ''New record'' that infopath uses with the command button
can do it.
the problem it's this: when i clic on the button to add new ...
-
Jacque
did you get an answer on this, I'd too love to know.
thanks,
matthew.
-
Guys & Gals,
Is there any way to add a standard presentation (not print) header and footer onto an InfoPath form. Maybe the footer will have a standard set of buttons and associated actions on it enabling reuse across many forms?
Many thanks in advance,
Matthew.
-
Guys & Gals,
I am programming in JScript.
I have the script.js file with various events in it that InfoPath provides. There are common functions I wish to envoke that I'd like to store in another file (myscript.js). I have created myscript.js and added it as resource in InfoPath.
Q. If myscript.js has a function (saveMyFile(XDocument)) - how ...
-