Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3841 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
lis 15
7287
2
srp 15
10174
0
bře 15
7012
4
bře 25
22807
2
dub 24
1863