Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3948 Visualizações

How I can translate field value  for example (124/P1/25 to 124-1-25). Actually how I can do sting operations  in Report Designer ?

Avatar
Cancelar
Melhor resposta

Hello my friend;

here is how you can convert your (124/P1/25 to 124-1-25).

Answer:

s = "124/P1/25"

print s

s.replace('/','-')

print s

s = s.replace('/','-')

print s

s.replace('P','')

print s

s = s.replace('P','')

print s

Best Regards.

Avatar
Cancelar
Autor Melhor resposta

Thanks  I used that [ ((o.fiskal_broj).replace('/','-')).replace('P','') ]]  in my report. You helped me a lot. :)

Avatar
Cancelar

in your service :) but why dont you vote ;)

Publicações relacionadas Respostas Visualizações Atividade
1
nov. 15
7460
2
ago. 15
10317
0
mar. 15
7136
4
mar. 25
23348
2
abr. 24
2010