Re: (LINK CORRECT LINK) determining what's in a text box
The correct link ... sorry,
"Rick Rothstein" <email@example.com> wrote in message =
Careful when recommending IsNumeric to anyone. Consider this
ReturnValue =3D IsNumeric("($1,23,,3.4,,,5,,E67$)")
Most people would not expect THAT to return True. IsNumeric has some =
"flaws" in what it considers a proper number and what most programmers =
are looking for.
You might also want to look at this short tip I had published by =
Pinnacle Publishing in their Visual Basic Developer magazine. Note that =
your newsreader will probably break this into two separate lines; they =
need to be combined into a single line in your browser.
In the above example and in the referenced tip, I refer to $ signs and =
commas and dots -- these were meant to refer to your currency, thousands =
separator and decimal point symbols as defined in your local settings -- =
substitute your local regional symbols for these where appropriate.
"KEN" <firstname.lastname@example.org> wrote in message =
> You can use IsNumeric() or onter Is functions toes test.
> "ted" <email@example.com> wrote:
> >What is the best way to determine whether an entry in a text box is a =
> >or a letter?
> >thank you,
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