hi i retrieve the error message ( look at the heading) when i try to run the following code. Why is it not supported ? i do find the method in my object browser and everything else does appear like it should so where is my error and it makes no difference if i do define a workspace or not the error is still the same. Thanks for your help maybe you can find my errror.
Dim str As String
Dim schrauth As QueryDef
dim db as database
Set db = OpenDatabase("bla", dbDriverPrompt, True, "odbc;"
Set schrauth = New QueryDef
schrauth.NAME = "TestingSchrauth"
schrauth.SQL = "sql statement "
db.QueryDefs.Append schrauth --> the debugger always stops here with the mentioned error message.
Thanks Whitebat
Dim str As String
Dim schrauth As QueryDef
dim db as database
Set db = OpenDatabase("bla", dbDriverPrompt, True, "odbc;"
Set schrauth = New QueryDef
schrauth.NAME = "TestingSchrauth"
schrauth.SQL = "sql statement "
db.QueryDefs.Append schrauth --> the debugger always stops here with the mentioned error message.
Thanks Whitebat