Value Manupulation

A

Arul

Is there a way to replace a negative value with zero. I have a text box that
does some additions and subtraction. If the resultant value is less than
zero, then it should reflect zero. Any ideas?
 
S

ScottD[Interlink Group]

You can use the OnAfterChange event on the textbox to examine the new value
of the field. If it is < 0, set the value = 0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top