At 14:33 2009-09-02, "Tracy Pearson" <tr...@powerchurch.com> wrote:
>In data conversions I've done, there has many times been an area code but no
>real number.
>After you accept that you are going to process the number, you can then
>redefine the number in a specific format, only accept numbers that are at
>least 7 characters and handle the 1 off situations via a second function to
>keep your generic handling clean.
>
>*-- Check length of only digits is at least 7
>len(chrtran(field,chrtran(field,"0123456789",""))) > 6

      This would reject "2468".  Internal phone systems might well 
have numbers with fewer than seven digits.

[snip]

Sincerely,

Gene Wirchenko



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/20090902221637.5512a98...@marge.leafe.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to