CONFIRM and shortcut

rbindinirbindini Member Posts: 27
Dear Experts,
I have a menubutton in a form that executes a function.
Inside the function there is a loop, and in some conditions a CONFIRM is send.
If I call the function through the menuitem appears the CONFIRM appears.
If I call the function through the shortcut the CONFIRM does not appear, to make it appear I have to click anywhere with the mouse.

I have navison 2009R2 (6.00.32465) in classic client on Windows 7

how can I solve this problem.
Thanks

Comments

  • SogSog Member Posts: 1,023
    Best is to understand why it doesn't show the confirmation message.
    You could debug and see if by using the shortcut a condition is not met to call the confirm.
    If the code lands on the confirm code with shortcut and it doesn't show, then it's a bug from NAV, else it's a bug from code :)
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • VjekoVjeko Member Posts: 55
    From what you say I believe this is a bug in NAV. Can you try CurrForm.ACTIVATE right before the CONFIRM?
    (Co-)author of "Implementing Microsoft Dynamics NAV 2009"
    http://vjeko.com/
  • rbindinirbindini Member Posts: 27
    Thanks to all, on Wednesday I will be at the customer where the problem occurs and I will try the suggested solution.
    bye
Sign In or Register to comment.