ACC1x: GetChunk on ODBC Table Returns "Invalid Argument" |
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
Issue type : kbbug
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |