Dear Concern
I have created 1 new form in that form user has to fill all details that's mandatory.I wrote code OnQueryCloseform trigger of form, untill user not fill all details on form, it cannot be closed. I want until this (New form) form not closed then user can't open any other form.
For me it seems that you are still trying to implement behaviour which is not standard for NAV and you (and mainly the customer) will have problems with that. Try to solve the problem in "NAV way". Think about the base requirement, "why" you want to do that, and try to find another way...
Dear Concern
I want until this (New form) form not closed then user can't open any other form.
Thats with the Pane Menu not possibel. Also, what is if there are other forms behind the form where the user should enter some datas, and he bring this form to the front with Ctrl+Tab :?:
if you need to check if all needed fields are filled out, check this on a other way (maybe modify trigger and OnNextRecord() ) and doen't forgett, what is happend, if the user scroll through the window. or is ther ever only one rec displayed :?:
The base question is. Why do you wan't to to this or why has your customer ever wished like this ...
Dear concern
I m have created some fileds in user table and shown it on new form, when new user 1st time login in Navision then that form will open and he has to fill all data that's mandatory.I want without without filling to this form user should not able to open another form.
Comments
I have created 1 new form in that form user has to fill all details that's mandatory.I wrote code OnQueryCloseform trigger of form, untill user not fill all details on form, it cannot be closed. I want until this (New form) form not closed then user can't open any other form.
Navision Technical Consultant
What's you code? and this doesn't prevent moving to the next record.
You can search the forum for "mandatory fields"
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://ssdynamics.co.in
I want that until user doesnt close our customized form then no other form should open.
Navision Technical Consultant
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thats with the Pane Menu not possibel. Also, what is if there are other forms behind the form where the user should enter some datas, and he bring this form to the front with Ctrl+Tab :?:
if you need to check if all needed fields are filled out, check this on a other way (maybe modify trigger and OnNextRecord() ) and doen't forgett, what is happend, if the user scroll through the window. or is ther ever only one rec displayed :?:
The base question is. Why do you wan't to to this or why has your customer ever wished like this ...
regards
I m have created some fileds in user table and shown it on new form, when new user 1st time login in Navision then that form will open and he has to fill all data that's mandatory.I want without without filling to this form user should not able to open another form.
Navision Technical Consultant
It can be done if you add a function with id 1 to codeunit 1.
See an example below:
Object Manager