Hello!
I want to make Weight a mandatory field and >0.
This works if I try to enter zero value:
Weight - OnValidate()
IF Weight = 0 THEN
ERROR(Text50006);
But if I jus tab through the fields, this trigger doesn't fire and the record is saved without weight. Is there a simple solution for this?
Comments
Have you tried to put your code on the OnAfterValidate trigger?
This should normaly work.
if you have already some records wrongly inserted, you won't get any error for these records...you should check them with a report for example...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
But if I just tab through the fields and not try to edit the default 0.00 value in field Weight, the validate event never occurs(?) and no message is shown.(NOT OK)
I'm trying is to ensure that the user doesn't forget to enter the value.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
http://www.BiloBeauty.com
http://www.autismspeaks.org