Dov'è che sbaglio?
Voglio creare un nuovo database con un TableDef chiamato "Appuntamenti", ma facendo come nel codice riportato viene dato un errore: "The Microsoft Jet database engine cannot find the input table or query 'Appuntamenti'. Make sure it exists and that its name is spelled correctly"
If Dir(App.Path & "\App.mdb") <> "" Then
Set myDB = OpenDatabase(App.Path & "\App.mdb")
Else
Set myDB = CreateDatabase(App.Path & "\App.mdb", dbLangGeneral)
End If
Set myTB = myDB.CreateTableDef("Appuntamenti")
Set myRS = myDB.OpenRecordset(myTB.Name) <--- ERRORE: "The Microsoft Jet database engine cannot find the input table or query 'Appuntamenti'. Make sure it exists and that its name is spelled correctly"
Cosa ho sbagliato?


Rispondi quotando
)
)
