Validation

Hi all,

How to validate a field which should not accept negative numbers? Pl z help

There is a property on the form control called as ‘AllowNegative’ must be No in order to validate the negative numbers.

Hi Vinay

Thanks for your response. Actually i want to validate that that field should accept only -ve values and not any other values. Also no alphabets should be entered. So how to do that… Thanks in advance.

If the field is real or int then it won’t allow you to enter alphabets and moreover for negative numbers validation you can set the properties as mentioned above.

You can also do validations by overriding the ValidateField() method at table level, if they are bit tricky.