tvanstiphout
Active member
- Local time
- Today, 07:30
- Joined
- Jan 22, 2016
- Messages
- 625
If SQL Server is the back-end (BE), we can link to tables and views. Views are like queries.
However, if Access is the BE, we can only link to tables, not queries.
My form is listing BE objects and I have a "View Data" button. When clicked, I link to that table, and use DoCmd.OpenTable to view the data.
Alas, that does not work for queries.
It would be nice if OpenTable (and OpenQuery) was part of the Database object.
Copying the query data to the FE is not a winning strategy; some queries are just too large.
I thought of a local query with a FROM ... IN [path-to-BE] clause but it appears MSFT just broke that for security reasons.
Can anyone think of a slimy hack to work around this issue?
However, if Access is the BE, we can only link to tables, not queries.
My form is listing BE objects and I have a "View Data" button. When clicked, I link to that table, and use DoCmd.OpenTable to view the data.
Alas, that does not work for queries.
It would be nice if OpenTable (and OpenQuery) was part of the Database object.
Copying the query data to the FE is not a winning strategy; some queries are just too large.
I thought of a local query with a FROM ... IN [path-to-BE] clause but it appears MSFT just broke that for security reasons.
Can anyone think of a slimy hack to work around this issue?