Home
Level Extreme platform
Subscription
Corporate profile
Products & Services
Login
FRANÇAIS
Home
FRANÇAIS
Level Extreme platform
Login
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Français
Como ler a máscara de um dado ?
Message
From
06/02/2002 11:17:25
Fabiano Costa
Beta Informatica
Vitória
,
Brazil
To
06/02/2002 11:02:04
Geraldo F. Barbosa
Curitiba
,
Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re:
Como ler a máscara de um dado ?
Miscellaneous
Thread ID:
00616072
Message ID:
00616092
Views:
20
Você pode usar diversas alternativas:
1 - Pelo tamanho dos dados, ou seja:
iif
(
len
(
alltrim
(campo)) = xxx,
"cfp"
,
"cnpj"
)
2 - Pelo sinal (se todos os campos tiverem:
iif
(
"/"
$campo,
"cnpj"
,
"cpf"
)
3 - Na pior das hipoteses, calcular o CPF se for invalido é o CGC :)
Cordialmente,
Fabiano Costa
Previous
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only
Click here to load this message in the networking platform
Level Extreme platform
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Login
Google
Copyright © 1993-2024 by Level Extreme Inc. All rights reserved · Website by
levelextreme.com