Hi all
I am trying to append text to a memo-style field which already holds some text and failing miserably.
Here's extract from my code:
Whilst I am able to get the existing value, the appendchunk doesn't seem to do anything...
I am trying to append text to a memo-style field which already holds some text and failing miserably.
Here's extract from my code:
Code:
Set conn = New ADODB.Connection
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseClient
conn.Open strConnection
rs.Open "SELECT cast(dbo.Review_notes.Note_Generic as text) as NoteGeneric FROM dbo.Review_notes WHERE ReviewID = " & lRevID & ";", conn, adOpenDynamic, adLockOptimistic
'update existing note
sNote = rs.Fields("NoteGeneric").GetChunk(rs.Fields("NoteGeneric").ActualSize)
Debug.Print sNote
rs.Fields("NoteGeneric").AppendChunk "some text"
rs.Update
Whilst I am able to get the existing value, the appendchunk doesn't seem to do anything...