I need help on inserting text string into Informix blob field using VB recordset. When I use the following code I get memory exception error on appendchunk. Any ideas?
thanks.
-YC-
-------------------------------------
Set rstEmail = New ADODB.Recordset
With rstEmail
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Open "email", cnn1, , , adCmdTable
.AddNew
'TmpSheet is string, l_msg is informix blob field.
!l_msg.AppendChunk TmpSheet
.Update
.Close
End With
cnn1.Close
thanks.
-YC-
-------------------------------------
Set rstEmail = New ADODB.Recordset
With rstEmail
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Open "email", cnn1, , , adCmdTable
.AddNew
'TmpSheet is string, l_msg is informix blob field.
!l_msg.AppendChunk TmpSheet
.Update
.Close
End With
cnn1.Close