Disable the Navigation Button in Navision.....

vipinkuruvillavipinkuruvilla Member Posts: 143
Can anyone tell me how to disable the navigation button in navision???

Thanks in advance......

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    Set the property Enabled of the button to No.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • vipinkuruvillavipinkuruvilla Member Posts: 143
    Hai Tino,

    Didnt get what you meant by enable property of button??? I couldnt find the property of the navigation button.

    By navigation button what I meant is the button through which we can navigate to previous/next record, say in an Employee Card.....
  • krikikriki Member, Moderator Posts: 9,110
    You can't.

    If you don't want that a user navigates in a form, when running the form, put a filter so that only current record is in it. And put that filter in FILTERGROUP 10 or up and let the user play in filtergroup 0 (the default for users).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • SavatageSavatage Member Posts: 7,142
    Navigate is a great Nav feature -- sad you want to disable it :?
  • tinoruijstinoruijs Member Posts: 1,226
    Savatage wrote:
    Navigate is a great Nav feature -- sad you want to disable it :?

    I can imagine that sometimes you don't want to let a user see all records. For example Employee records if a user is a manager with a couple employees connected. He could see the connected ones, but not the other employees. Maybe that's a situation you don't want to navigate.

    I would solve it by the by using FILTERGROUP, like Kriki said.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • wakestarwakestar Member Posts: 207
    Savatage wrote:
    Navigate is a great Nav feature -- sad you want to disable it :?

    he's not talking about the Navigate Form.
  • tinoruijstinoruijs Member Posts: 1,226
    wakestar wrote:
    Savatage wrote:
    Navigate is a great Nav feature -- sad you want to disable it :?

    he's not talking about the Navigate Form.

    That's right. That's what I thought first too.
    He's talking about the previous and next buttons.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • vipinkuruvillavipinkuruvilla Member Posts: 143
    Iam facing the following issue:

    I have given some validations for certain fields in the onQueryclose trigger. Now iam creating a new record and if i try to close the form,the validations are taking place. Now instead of trying to close the form, iam navigating to the next/previous records using the navigation button and then trying to close the form. The validations are not taking place and the form closes, saving the record without the mandatory fields.

    This is the problem iam facing. Can anyone help me out???
  • tinoruijstinoruijs Member Posts: 1,226
    It's better to use the triggers (OnInsert, OnModify, OnDelete, OnValidate field) in the table to validate other fields within the same table.

    Have you tried that?

    Or you can do what kriki suggested.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.