Textbox to accept only decimal number in Navision

Hi,

I have a textbox whose source expression is a field whose data type is Decimal.

I want my textbox to accept only Decimal numbers not the negative numbers.

Please reply.

Thanks

You can put condition on OnValidate Trigger of Textbox or Field

If Quantity<0 THEN

ERROR(‘You can not enter negative Quantity’);

Or set MinValue property of the field to 0.

The suggestion has been implimented successfully.

Thanks for the reply.