Thanx
--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
| If Not IsNumeric(industry) Then
|
| '---- Do Stuff
|
| End If
|
| Bob Lehmann
|
| | > Ok, one more question, how do I use this, if I want to checkif it's not
an
| > integer.
| >
| > I want to check two things, like so:
| >
| > if company_count = 0 and Is(not?)Numeric(industry) then
| > // stuff here
| > end if
| >
| > i.e. If company_count = 0, and industry is not an integer?
| > --
| >
| >
| > Kind Regards
| > Rudi Ahlers
| > +27 (82) 926 1689
| >
| > Greater love has no one than this, that he lay down his life for his
| friends
| > (John 15:13).
| > | > | If IsNumeric(String_To_Check) Then
| > | '// True
| > | '// Do something
| > | Else
| > | '// False
| > | '// Do something else
| > | End If
| > |
| > | --
| > |
| > | Regards
| > |
| > | Steven Burn
| > | Ur I.T. Mate Group
| > |
www.it-mate.co.uk
| > |
| > | Keeping it FREE!
| > |
| > |
| > | | > | > Sorry for the dumb question, but what is the function in ASP to see
if
| > an
| > | > object / string is an integer?
| > | >
| > | > I want to check the contents of a form, and if it's an integer, i.e
a
| > | > number, do something, else if it's a word do something else, and I'm
| not
| > | > sure howto?
| > | >
| > | > --
| > | >
| > | >
| > | > Kind Regards
| > | > Rudi Ahlers
| > | > +27 (82) 926 1689
| > | >
| > | > Greater love has no one than this, that he lay down his life for his
| > | friends
| > | > (John 15:13).
| > | >
| > | >
| > |
| > |
| >
| >
|
|