-
I need help
[Originally posted by Kristine Wilton]
On a form that I'm working on, you enter a number of hours in the text box and it returs a commision.ÿ what I need is to not let the employee enter any number over 160.ÿ Any help that you could give me would be appreciated
-
Re:I need help
[Originally posted by Marc Cramer]
Hello...
try
if CINT(VAL(textbox.text))>160 then
msgbox "Only numbers under 161 Allowed"
textbox.setfocus
end if
-
Re:I need help
[Originally posted by ali]
use IsNumeric( val ) to check for valid numbers
then convert it into number and check the value
-
Re:I need help
[Originally posted by Jehanzeb Navid]
hi! i think u can use the max length code to make the numbers up to 160.
jayzee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks