• 0
Sign in to follow this  
Lfbona

Aterando A Mascara Do Cnpj (cgc)

Question

Pessoal como faço para definir a mascara do CNPJ pois na minha base esta montado dessa maneira:

1.896.483.000.117 e gostaria que fosse listado assim 1.896.483/0001-17

Obrigado

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest --Samuel --

Bom você pode criar uma formula da seguinte maneira......

para seu CNPJ (1 . 896 . 483 / 0001 - 17)

{campo cnpj}[1 to 2] + '.' + {campo cnpj} [3 to 5] + '.' + {campo cnpj} [6 to 8] + '/' + {campo cnpj} [9 to 11] + '-' + {campo cnpj} [12 to 13]

Share this post


Link to post
Share on other sites
  • 0

e se você tentar algo assim:

crie uma formula e jogue nela:

Picture ({ARQUIVO.CNPJ},"x.xxx.xxx/xxxx-xx" )

n testei, + acho q funciona.

[]s

Edited by quitZAUMMM

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this