I'm using Access 97. Why is this not compiling? I get a run-time error '13': type mismatch on line 13:

Set varVariable = rstLngBinDat!dbf_MessDaten.GetChunk(0, conChunksize)

here's the whole code:

Sub SetDataToVariable()

Dim dbsNozztst As Database
Dim rstLngBinDat As Recordset
Dim varVariable As Variant
Const conChunksize = 32768

'open database "db1.mdb" and recordset "dbt_Pruefbericht"
Set dbsNozztst = OpenDatabase("C:\db1.mdb")
Set rstLngBinDat = dbsNozztst.OpenRecordset("dbt_Pruefbericht")

'use GetChunk method to assign long binary data to a variable
Set varVariable = rstLngBinDat!dbf_MessDaten.GetChunk(0, conChunksize)

'close database and recordsets
dbsNozztst.Close
rstLngBinDat.Close

End Sub