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!
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.
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???
Comments
Tino Ruijs
Microsoft Dynamics NAV specialist
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.....
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).
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
http://www.BiloBeauty.com
http://www.autismspeaks.org
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
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
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???
Have you tried that?
Or you can do what kriki suggested.
Tino Ruijs
Microsoft Dynamics NAV specialist