One way:

get fld "tenDigitNumber"
if (it is a number) and (length(it) = 10) then
  --do stuff
end if


----- Original Message -----
From: "debdoot das" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 18, 2001 4:42 PM
Subject: Format of a Container


> hello,
>
> What is the best strategy for checking whether a field has the right
> characters in the right format. I am trying to make sure that a cd
fld
> has ten numbers (no more, no less) and not letters.
>
> Thanks,
>
> Debdoot
>
>
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to