Dear folks, I this this is easy. On OnCloseForm from a form I've the code:
IF field1='' THEN ERROR:='Field field1 is empty, you must fill it';
This message shows when you try to left the form and fild1 is not informed. But this contro let to left the form. I'd like to know how do it that don't let left the form is the fild is not informed.
Thanks.
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Udaykumar Akunuri
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks also for your concern.
Repeat
testfield(",,,,,");
unitl next = 0;
Udaykumar Akunuri
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You are Right, it is not a good thing if we have thousands of records(as you said). But according to my knowledge there will not be thousand of records in a form - In which a user need to feed the data......... i.e, we have only few types of tables (Master, Subsidery, Suplimentary, journal, Ledger, Documents,.......)
Correct me if i am wrong. ( i am also interesting to know where i need to improve)
Udaykumar Akunuri
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
This depends on the situation and need. As Leroy told that 'he need it', i gave this way(may be a solution).
Thank you
Udaykumar Akunuri
Mr. House: "Everybody lies"
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.