A
Arvi Laanemets
Hi
Can someone give me a hint, how to create a subject! I did something alike
(but the data source wasn't an Excel table) a year or two ago, but all
materials I did use then were lost after HD on my computed died away.
I have some Excel file (p.e. MyExcelFile), with a couple of named ranges
(p.e. MyRange) defined. In same catalog, I have a Access project with table
MyTable. The structure of MyTable is identical to excel table, defined as
MyRange. My task is to add to MyTable all records from MyRange, which are
missing in MyTable.
My idea is to have a pass-through query, which retrieves all data from
MyRange. The another query will then get all records from pass-through one,
not found in MyTable, and add them into MyTable.
(I found a couple of instructions when googling, but couldn't make them
work.
The 1st is from MS KB - the query is created by procedure.
Dim MyDatabase As DAO.Database
returns an error "User-defined type not defined".
The 2nd was also from MS - how to create pass-through query from query
wizard. I haven't found a way to create a working ODBC Connect. Str.
property there.
Thanks in advance for any help
Can someone give me a hint, how to create a subject! I did something alike
(but the data source wasn't an Excel table) a year or two ago, but all
materials I did use then were lost after HD on my computed died away.
I have some Excel file (p.e. MyExcelFile), with a couple of named ranges
(p.e. MyRange) defined. In same catalog, I have a Access project with table
MyTable. The structure of MyTable is identical to excel table, defined as
MyRange. My task is to add to MyTable all records from MyRange, which are
missing in MyTable.
My idea is to have a pass-through query, which retrieves all data from
MyRange. The another query will then get all records from pass-through one,
not found in MyTable, and add them into MyTable.
(I found a couple of instructions when googling, but couldn't make them
work.
The 1st is from MS KB - the query is created by procedure.
Dim MyDatabase As DAO.Database
returns an error "User-defined type not defined".
The 2nd was also from MS - how to create pass-through query from query
wizard. I haven't found a way to create a working ODBC Connect. Str.
property there.
Thanks in advance for any help