Re: can ASP check if an object is an integer?
From: Lord Merlin (SPAM_lordmerlin_at_bonzai.org.za_SPAM)
Date: 07/21/04
- Next message: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Previous message: Lord Merlin: "Re: can ASP check if an object is an integer?"
- In reply to: Steven Burn: "Re: can ASP check if an object is an integer?"
- Next in thread: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Reply: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Jul 2004 00:04:04 +0200
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). "Steven Burn" <pvt@noyb.com> wrote in message news:e1iac12bEHA.1732@TK2MSFTNGP09.phx.gbl... | 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! | | | "Lord Merlin" <SPAM_lordmerlin@bonzai.org.za_SPAM> wrote in message | news:cdmo3m$bdk$1@ctb-nnrp2.saix.net... | > 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). | > | > | |
- Next message: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Previous message: Lord Merlin: "Re: can ASP check if an object is an integer?"
- In reply to: Steven Burn: "Re: can ASP check if an object is an integer?"
- Next in thread: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Reply: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|