- Danish Ahamed LiakathAli
- PowerBuilder
- Friday, 5 June 2020 04:47 PM UTC
Hi,
I have migrated our application from PB 10.2 and to 2019 R2 Build 2323 and getting multiple issues in RTE control with the new version. I am trying to fix each issue.
I found an issue in getting the InputFieldGetData option. I have inserted the merge filed in the rte control and when I am trying to get the data value for that merge field from the rte content by InputFieldGetData function it returns the text filed name not the data value.
I have compared the both version (PB 10.2 & 2019 R2) RTE data found the merge filed data is not storing correctly in the new version RTE content.
PB 10.2 RTE Data for the Merge field.
{\field{\*\fldinst{\f1\fs20\cf0\up0\dn0 TOTALS SECTION1}}{\fldrslt{\f1\fs20\cf0\up0\dn0 4050}}}
PB 2019 R2 Data for the Merge field.
{\txfielddef{\*\txfieldstart\txfieldtype0\txfieldflags152
\txfielddata 7b0050004100530054002000440055004500200049004e0056004f004900430045002000440041005400410031007d000000}{\*\txfieldtext
\{TOTALS SECTION1\}{\*\txfieldend}}\{TOTALS SECTION1\}}
The data value should be the sequence# from the merge field table, where in older version it is doing correctly. But not sure why it is not picking the seq#.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.