Limiting a text value

R

Rodolfo Fontes

Hi group,

A time ago i've asked how to format a text value ("PC") to be like
"0000000PC".
Now i need to know how to limit that.
For example, how to limit the string "PC COMPUTER" to 5 caracters, like "PC
CO".

09_PF: Substituir(Formato(Esquerda([T
NF_S_Det].[Part#F];16);"@@@@@@@@@@@@@@");" ";"0")
This is what i'm using to format it, but it's not working to limit the
string.

Thanks for any help,
Rodolfo Fontes
 
R

Rodolfo Fontes

Just one more note about it...
I want to use blank spaces if the string is less than the limit
Like: " PC" for limit = 5

Thanks
 
A

Andi Mayer

Hi group,

A time ago i've asked how to format a text value ("PC") to be like
"0000000PC".
Now i need to know how to limit that.
For example, how to limit the string "PC COMPUTER" to 5 caracters, like "PC
CO".

09_PF: Substituir(Formato(Esquerda([T
NF_S_Det].[Part#F];16);"@@@@@@@@@@@@@@");" ";"0")
This is what i'm using to format it, but it's not working to limit the
string.
look at the LEFT function in the help file
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top