Hi,
I have a read-only file, into which I load data from an Access DB using DAO / SQL - which works fine.
Then using ADO, I perform an SQL query on the this data (select distinct one field). Here the query returns nothing (nor it raises an error).
If I access the file read-write or the data is already saved in the workbook, it works.
As I need the file in read-only mode and the data is kept in the DB (and can't be saved in the file), I need somehow to manage ADO/SQL to recognize that "data is there".
I already tried with FullCalculation, RefreshAll, Saved = true but no luck so far.
Anyone any idea?
I have a read-only file, into which I load data from an Access DB using DAO / SQL - which works fine.
Then using ADO, I perform an SQL query on the this data (select distinct one field). Here the query returns nothing (nor it raises an error).
If I access the file read-write or the data is already saved in the workbook, it works.
As I need the file in read-only mode and the data is kept in the DB (and can't be saved in the file), I need somehow to manage ADO/SQL to recognize that "data is there".
I already tried with FullCalculation, RefreshAll, Saved = true but no luck so far.
Anyone any idea?