If I create a new record in Servoy 5.1.4 by method and set also text values in to textfields (RTF_AREA) by a function (by i18n and/or a textstring), the text value is not displayed on the jasperreport. I have databaseManager.saveData() in my function and the same property settings in iReport as in Servoy for the textfields. While debugging an other function, started on the new record, to set e.g. a signature under the text and take the ‘oldValue’ in to a variable, the variable is null although the text value is displayed in the developer client!?
When I edit the textfield manually on the form e.g. by inserting a blank, all is working well. Text is displayed on the jasperreport and also the variable ‘oldValue’ is not null.
Do anybody have the same issue and a tip how I could fix that?
Edited 07/27/2010 by Thomas
I could find out that the problem is not by creating a jasperreport. It is a formatting issue at inserting a text by fubction into a RTF_AERA dataProvider!
When I take the text value in a variable I can see the plain text in the Debugger, but it isn’t rtf formatted (like rtf text in an other field) and get lost if I insert the value of the variable into the dataProvider again.
How could I insert and store a text value by function into a RTF_AREA dataprovider correctly?