Delete record without confirm

ftbookumftbookum Member Posts: 10
edited 2004-02-23 in Navision Attain
I like to delete a record (DEL-Key or F4) without the confirm window ("Are you sure to delete this record?"). How do I get this done?

Comments

  • Timo_LässerTimo_Lässer Member Posts: 481
      [*]Be very careful! An accidentally keystroke on F4 will be finally.[/*]
      [*]Create a MenuButton "Functions" with a MenuItem "Delete Record"
      1. Set the ShortCutKey of the MenuItem to F4
      2. Add "DELETE(TRUE);" to the OnPush()-Trigger
      [/*]
      Timo Lässer
      Microsoft Dynamics NAV Developer since 1997
      MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
    1. eromeineromein Member Posts: 589
      Bah!

      Although Timo is so kind to post the right answer to you question, I would have posted....

      "It's not possible!"
      "Real programmers don't comment their code.
      If it was hard to write, it should be hard to understand."
    Sign In or Register to comment.