Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4338 Представления

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?

Аватар
Отменить

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?

Автор

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 :)

Автор

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 ;)

Автор

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

Лучший ответ

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

Example object.textfield[0:20]

Аватар
Отменить
Автор

Thanks Felipe, that worked!

Автор Лучший ответ

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.

Аватар
Отменить