I have lots of pdf file and I want to save them to related records in LONGTEXT field. It saves for a while and surprisingly after storing about 1580 mb, the application of oRs2:Save() function ends without any error. The hb_error file does not generated either.
How can I solve this problem?
- Code: Select all Expand view
- oRs2 := oTb_ICBELGE:Open({{"IC_NO", oData:IID}}) // it generates cSQL and run Rowset()
IF !EMPTY(oRs2) .AND. oRs2:Reccount()>0
oRs2:GoTop()
DO WHILE !oRs2:Eof()
oData2 := TUM_BilgiOku_SQL(oRs2)
cMYFileName := MY_FileName(oMyFoy, oData2:IC_ID, oData2:IC_TYPE)
IF FILE(cMYFileName)
oRs2:IC_MEMO := MemoRead(cMYFileName)
oRs2:Save()
ENDIF
oRs2:SKIP()
ENDDO
ENDIF
oRs2:End()