Updateblob wd set wd_content=: tot_b where WDBH=: ls_wdbh using the SQLCA.
The SQLCA. The autocommit=false
The SELECT wd. Title
INTO: l_title
The FROM wd
WHERE wd. WDBH=: ls_wdbh;
If l_title & lt;> "' then
Commit the using the sqlca;
Messagebox (', 'warehousing success! ')
The else
The rollback using sqlca;
Messagebox (', 'put in storage failure, please input again! ')
End the if
The extraction in the code: (ole_1 doublelicked) in the event (ole ole controls the create new Microsoft word) in the
Blob PIC
Int n
Selectblob wd_content into: PIC from wd where WDBH=555555;
If isnull (PIC) & lt;> If true then//recorded
ole_1.objectdata=https://bbs.csdn.net/topics/pic,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, line 6
Ole_1. Activate (inplace!
End the if
After running and double-click ole_1 errors:
Bad runtime function reference at line 6 in doubleclicked event of object ole_1 of w_2
Please help each master
CodePudding user response:
This error is often the method used is to compile time, or the related object is deleted, to add againCodePudding user response:
You can trace it and see what happened to this line, such as whether there is data in the BLOB, or can write BLOB variable data in the file, then open it using WORD in your system whether normalCodePudding user response:
Deleted after heavy