1. Andrew Davis
  2. PowerBuilder
  3. Wednesday, 01 May 2019

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 Accepted Answer Pending Moderation
0
Votes
Undo

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.
  1. Wednesday, 1 May 2019
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


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