problems using fields created in reportPDF

Hi guys,

i create a pdf and add 2 new fields that is filled with informations from another table using the lookup option. It show all informations right, but, if i try to use the utf8_decode() function on the onRecord event it simple ignore those fields. Even if i try to use substr() function it do the same. If i use those 2 functions on the same event but with fields created by the original aplication reportPDF, it works.

Why it dos not wor with fields created before the inicial select ?

Thank you and sorry my bad english.

Re: problems using fields created in reportPDF

I suggest that you create the necessary processing utf_decode() or substr() at the Programming section -> php modules.

At the onRecord event, just call the php function you have created