ACC1x: GetChunk on ODBC Table Returns "Invalid Argument"ID: Q109403
|
When you call the GetChunk method against a SQL Server or other ODBC table, Microsoft Access returns the error message: "Invalid Argument."
Microsoft Access does not properly support the GetChunk method against ODBC tables.
Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
Sub TestGetChunk()
Dim MyDB As Database, MyDyna As Dynaset, s As String
Set MyDB = CurrentDB()
Set MyDyna = MyDB.CreateDynaset("dbo_SQLTest")
s = MyDyna![FldImage].GetChunk(0, 10)
MyDyna.Close
MyDB.Close
End Sub
Keywords : kbprg PgmObj OdbcOthr
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 30, 1999