Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2005

Tip: Looking for answers? Try searching our database.

Value Manupulation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arul - 01 Mar 2005 14:51 GMT
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?
Vaibhav - 01 Mar 2005 16:45 GMT
Have you tried adding a function to the textbox properties ?

> 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?
ScottD[Interlink Group] - 01 Mar 2005 16:47 GMT
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.

> 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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.