Charles,

This is a little crude, but it might work.

Try to convert the input to a time. 
If the oconv is successfull no problem, it must be a number.
If it fails because they have entered something dodgy,  send the value of
what they entered to yourself in an email.

Mickey Mouse Test

INPUT A
B = OCONV(A,"MTS")
IF STATUS() THEN
   * If oconv is unsucessful then status() # 0.
   PRINT "SEND EMAIL SHOWING VALUE OF A ":A
END

Andy

-----Original Message-----
From: Stevenson, Charles [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2005 10:05
To: [email protected]
Subject: RE: [U2] [UV] "non-numeric" error after passing (ANS MATCHES '0N' &
ANS>0)

> Could your ANS variable have contained Char(255) ?

A string containing Char(255) won't passes the (ANS MATCHES '0N') test.

If anyone can show me a string containing characters other than the 10
digits that passes that test, I'd be much obliged.

cds
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to