Hi Francis,
Perhaps your field doesn't contain a number with a length of 4? I
tried this in the message box:
put matchtext("1234","[0-9][0-9][0-9][0-9]")
and got true returned.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 30-sep-2006, om 20:56 heeft Francis Nugent Dixon het volgende
geschreven:
Hi from Paris,
I may be totally dumb, but I am not sure how to use
MatchText. I find the explanation in the on-line doc.
particularly obscure .....
I want to check the contents of a field for numeric,
so, for a field of four characters, I coded :
matchText(field MyTextField,"[0-9][0-9][0-9][0-9]")
if it is true then ......
Is this the right way to check for numerics, and if
so, what have I done wrong ?
-Francis
"Nothing should ever be done for the first time !"
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution