Our application create letters to send to customers. We create the letters using 3 components, the letter head or logo which is save in our server, the letter body which is a rtf file save in our servers and the footer or tag line of the page which is txt file save as well in our servers. Well in PB 6.5 I did not have any problems using this script when inserting the tag line:
//Help: Place the tag line in the footer
rte_letter_text.SelectText(li_line, 255, 0, 0, Footer!)
//Help: Insert RTF logo file into RTF control,
li_rc = rte_letter_text.InsertDocument( is_tagline, FALSE, FileTypeText!)
When we migrate to PB 10.2.1, the value of li_rc is -1. I noticed that if I change the FALSE for a TRUE it does work but it will replace all the text that is on the letter.
Help please!!!!
Thanks.
//Help: Place the tag line in the footer
rte_letter_text.SelectText(li_line, 255, 0, 0, Footer!)
//Help: Insert RTF logo file into RTF control,
li_rc = rte_letter_text.InsertDocument( is_tagline, FALSE, FileTypeText!)
When we migrate to PB 10.2.1, the value of li_rc is -1. I noticed that if I change the FALSE for a TRUE it does work but it will replace all the text that is on the letter.
Help please!!!!
Thanks.