Testfield in RTC

Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
edited 2011-06-09 in NAV Three Tier
Hi guys!
I'm upgrading a wizard from Nav 4.0 to Nav 2009. In the OnValidate of a field I put the following code
RecordVar.TESTFIELD("Cylinder in Bundle",TRUE);
Correctly it test my field and show the error (see the following...)

So far so good. Now I press F5 and appears the standard MessageBox that says to me that there're errors on the page and asks if I want to discard changes. I press yes, the error disappear but the code remains (see the following...)

Now I'm wondering why this strange behaviour, if I'm not wrong it would had had to empty the field automatically.
has anyone already faced a problem like this?
Thx in advance!
It works as expected... More or Less...


Sign In or Register to comment.