Hi Chris
I still have issue,although I'm very familar with Grid & free style Datawindow and I have used PB for 5 years,however, I'm not familar with rich text datawindow and rich text edit control at all.I have trouble that I have copy the document form rich text datawindow,but the data which produce by columns didn't on the RTE control,there is no data except the documnet content on the ms-word file.and I have googled this and watch the help file for almost a day,I didn't found the answer,I can't figure out what I have done wrong.please help
my code is following ,thanks!
dw_exp.reset()
dw_exp.retrieve(ld_caseid)
rte_exp.Clear()
string ls_prodadd
datetime ld_begtime,ld_endtime
string ls_taken,ls_yyyy
ls_richtext=dw_exp.CopyRTF(false)
ll_thecount=rte_exp.PasteRTF( ls_richtext,Detail!)
if ll_thecount<0 then
messagebox("warnning","application terminated,because there are exception on pasting")
return
end if
rte_exp.SetRedraw(TRUE) | |
rte_exp.SaveDocument(path,FileTypeDoc! ) | |
messagebox("hello","export finish!")
Regards Ken | |