Skip to Content
Menu
This question has been flagged
2 Replies
4319 Zobrazenia

Hello,

I'm using aeroo reports and I'd like to retreive a predefined number of characters from a string field, for example only the 20 first characters from the field. I've looked in aeroo reports functions but I didn't find a function that does this. Should I write a parser to do this?

Avatar
Zrušiť

sorry it isn't an answer but Question too in fact ... u installed it in V7 i face problem installing it on V7 coulf u help me?

Autor

You should open a new discussion for that and ask your question.

i already did it but no answers ... and ur Question mean that you intalled it correctly any way ... if u like to help .. thank you very much ... if not .. just thx :)

Autor

Yes, I just saw it, I'll try to help you when I find time, I'm busy now.

thinks my friend ... i find the solution :) will your answer this Question soon ;)

Autor

I'm happy for you :) I've just found the answer for my question too.

Best Answer

you can use python inside the report, after your text field just put [from, to]

Example object.textfield[0:20]

Avatar
Zrušiť
Autor

Thanks Felipe, that worked!

Autor Best Answer

I wrote a function in a custom parser for this, it's easy to do it. But I don't know why it doesn't exist in aeroo reports, I think it's an import function. Thanks anyway.

Avatar
Zrušiť