Warning before exiting Navision

bhaganbhagan Member Posts: 25
edited 2002-03-10 in Navision Financials
Our users sometimes exit out of Navision inadvertently by closing the Navision window.

Can they be asked to confirm before exiting? If so, where should the code be placed?

There is already a posting about this, but it only works if the user closes the main menu form before exiting. In our case, the user is just closing the Navision window -- not the main menu.
Beth Hagan

Comments

  • SteveSteve Member Posts: 81
    You can try put a FORM.RUNMODAL(330) on the OnClose form trigger of the main menu. The problem is that you are locked in and will have to crash navision to close it. Using error,confirm and message do not work.
    Steve
  • elbielbi Member Posts: 3
    try this on form 330, trigger OnQueryCloseForm() : Boolean
    IF NOT CONFIRM('do you really want to close \' +
    ' Navision Financials?',FALSE) THEN
    ERROR('');
  • LdLLdL Member Posts: 4
    TRIGGER OnQueryCloseForm()
    EXIT(CONFIRM('Are you sure you want to close Navision Main Menu ?',FALSE)); <img border="0" title="" alt="" src="images/smiles/icon_cool.gif" />
    LdL
Sign In or Register to comment.