General information
Category:
Coding, syntax & commands
Title:
Ole error 0x80004004:operation aborted in APPEND GENERAL
Hi all.
I'm trying to create RTF effect on the report by issue the following command:
APPEND GENERAL myfield FROM "myfile.rtf" CLASS "RICHTEXT.RICHTEXTCTRL.1"
However, occasionally, when the command is executed, the error msg "OLE error code : 0x80004004 : operation
aborted" popup, but sometime, everything is smooth and the report print just nice. I have
manually open the RTF file using wordpad and ms word, the formatting is fine. I have tried to
comment out the CLASS "RICHTEXT.RICHTEXTCTRL.1" part, but the problem still occurs.
The only way I know to create RTF effect is use the General field and an AxtiveX bound control.
In Report, I can't simply insert Rich Text box activeX control as in form. The only control I
can insert is Picture/ActiveX Bound Control.
I don't use word automation because the data is confidential and we don't want the user to
install additional application in case they don't have.
Hope someone can help.
Thank you in advance.
waifoong
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only