K
Kamil
Hello All,
I defined something below in General Declarations,
Dim FILE1 As Database
Dim TABLE1 As Recordset
Dim SSQL1 As QueryDef
And I wrote the following to the code of command1 to open my database and
make a query
Set FILE1 = OPENDATABASE("D:\VT.mdb")
Set SSQL1 = FILE1.CREATEQUERYDEF("SORGU", "SELECT * FROM MYTABLE1;")
Set TABLE1= FILE1.OPENRECORDSET("SORGU")
But I am getting the error in subject,
Why? Any suggestion please...
Regards...
Kamil
I defined something below in General Declarations,
Dim FILE1 As Database
Dim TABLE1 As Recordset
Dim SSQL1 As QueryDef
And I wrote the following to the code of command1 to open my database and
make a query
Set FILE1 = OPENDATABASE("D:\VT.mdb")
Set SSQL1 = FILE1.CREATEQUERYDEF("SORGU", "SELECT * FROM MYTABLE1;")
Set TABLE1= FILE1.OPENRECORDSET("SORGU")
But I am getting the error in subject,
Why? Any suggestion please...
Regards...
Kamil