M
Matthaeus
Hi,
I've got problems in declaring a variable in Access 2002
(part of Office XP) as "Database"
There is plenty of sample code in the help with Database
as type but it produces a compiler-error (and also it
doesn't appear in the choice for the types).
I also have problems in assigning an actual object to
objects of the type "Recordset, Table, AccessObject"
It always says: type mismatch although I'm pretty sure,
that the types are allright. Code-sample:
Dim Imported As Table
Set Imported = Outlook.Tabledefs("Contacts_Import")
.....where Outlook is of the type object (since database
isn't accepted from the compiler) and has a database
assigned to it.
Another example is:
Dim Datensatz_Orig As Recordset
Set Datensatz_Orig = Outlook.OpenRecordset("Contacts")
.....Contacts and Contacts_Import are two tables in that
database
Any help is greatly appreciated.
Matthaeus
I've got problems in declaring a variable in Access 2002
(part of Office XP) as "Database"
There is plenty of sample code in the help with Database
as type but it produces a compiler-error (and also it
doesn't appear in the choice for the types).
I also have problems in assigning an actual object to
objects of the type "Recordset, Table, AccessObject"
It always says: type mismatch although I'm pretty sure,
that the types are allright. Code-sample:
Dim Imported As Table
Set Imported = Outlook.Tabledefs("Contacts_Import")
.....where Outlook is of the type object (since database
isn't accepted from the compiler) and has a database
assigned to it.
Another example is:
Dim Datensatz_Orig As Recordset
Set Datensatz_Orig = Outlook.OpenRecordset("Contacts")
.....Contacts and Contacts_Import are two tables in that
database
Any help is greatly appreciated.
Matthaeus