We have migrated our application from PB 10 to PB 2019 R2 and facing an issue in the RTE control.
I have selected the 'Built in TX Text Control' in the application properties.
When we change the Input Field data in the runtime before saving the record by using this method and save the rtf content as blob in the DB, It is storing the input field data as like this.
ls_found = "past due invoice data1"
ls_tdsn = "5595"
Code:- lrte_body.InputFieldChangeData (ls_found, ls_tdsn)
When we try to get the data of the same field when EDITING the merge field from UI by using the below syntax, it returns the merge field name not the actual # that we changed.
get the field name :- ls_InputField = lrte_curr.InputFieldCurrentName ()
ls_inputfiled = 'past due invoice data1'
get the data for the input field. ls_data = lrte_curr.InputFieldGetData (ls_InputField)
I am getting the ls_data value as :- {PAST DUE INVOICE DATA1}
RTF Data:-
{\txfielddef{\*\txfieldstart\txfieldtype0\txfieldflags152\txfielddata
7b0050004100530054002000440055004500200049004e0056004f004900430045002000440041005400410031007d000000}
{\*\txfieldtext \{PAST DUE INVOICE DATA1\}{\*\txfieldend}}\{PAST DUE INVOICE DATA1\}}
I am expecting the highlighted # should be 5595 in the rtf content.
Not sure what is happening here. Any help would be appreciated to fix this.
Does any code fix required for this or it may be the data conversion issue from string to blob?
Database is Oralce 11g.