1. Andrew Davis
  2. PowerBuilder
  3. Wednesday, 1 May 2019 10:22 AM UTC

Hi

Can anyone tell me what i am doing wrong

I have a Rte control - that has text, text fields and numeric fields on it - i copy this to my datawindow the text fields display the data but the numeric fields just show a blank space.

The fields match in name - in fact they were created by copyRTF from the datawindow then pasteRTF to the rte then savedocument then edited in word - by copying the fields to the correct place in the document

Then insertfile into the datawindow

I am using pb2017 r3 ( also tried r2 )

the rte shows

{accnum}

{address1}

Dear Customer

you have {totdue} outstanding 

etc..

the datawindow shows 

AD001

High Street

Dear Customer

you have outstanding

etc.

 

Just a space where the value {totdue} should be 

Any help would as always be greatly appreciated

 

regards

 

Andrew

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 1 May 2019 13:10 PM UTC
  2. PowerBuilder
  3. # 1

Hi Andrew;

  Instead of copy & pasting between the RTE control and DWO ... just use the "DataSource()" command to share data from the DWO directly to the RTE control. My guess is that your Copy & Paste operations might be interfering with the rich text codes.

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.