1. Danish Ahamed LiakathAli
  2. PowerBuilder
  3. Tuesday, 28 July 2020 16:05 PM UTC

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.

Danish Ahamed LiakathAli Accepted Answer Pending Moderation
  1. Wednesday, 5 August 2020 15:52 PM UTC
  2. PowerBuilder
  3. # 1

Can you please provide the steps to create the sample APP and on which DB. And also please provide link to create a support ticket. 

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 5 August 2020 16:26 PM UTC
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 3 August 2020 17:03 PM UTC
  2. PowerBuilder
  3. # 2

Hi Danish;

   Please open a Support Ticket for this issue and also supply a small sample PB App Test Case using the PowerScript that you listed above.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.