Form Issue

I am trying to use one form for 2 purposes. I want to differentiate that with a document type option field. how and where do i set the filters to open the forms from respective places. I am using Navision 5.0

What do you mean by respective places?

Do you want to use command buttons?

Have you looked at the settableview property of the command button?

Or are you looking for some type of drop down menu that has different filters that a user can select?

Kind of like this:

https://m.youtube.com/watch?v=lyD9a8AqECI

Welcome to DUG!!!

Do you like to differentiate field on form to work as two different option or would you like to work form as different type.

???

Thank you for your reply

I want to add a menu button with two options which should point to the same form with different filters.