Two databases to one linked table on SQL - sql-server-2008

We have an Access database that is currently doing an append query on a table on another database. We have moved all the tables to a SQL Server 2008 database.
The dba used the SSMA tool to migrate the tables to the SQL Server database thus avoiding the use of an ODBC connection. If necessary I could write VBA code to create the link (I have seen an example that I might be able to use).

Solved.
Found some VBA code that will allow me to create the linked table.

Related

ACCESS: Move Data --> Access Database keeps wanting to split

I have an ACCESS database that I'm using to test migration to SQL Server. It has one local table; no linked tables, forms, queries, or reports. One site said to use the open the Database Tools tab, and click the Access Database icon in the Move Data group. When I do, it tells me that the database must be split. How do I let ACCESS know that the database has been split?
The move data features up to Access 2010 ALSO had a feature to move data to SQL server. However, due to SQL server always changing and having new versions that come out at "different" times then ms-access?
the feature was deprecated, and versions of Access after 2010 don't have the move to sql server anymore.
If this is just say a simple single table, then it you can use SQL server studio to import the table. (but, you lose PK settings, and indexing, and relationships (assumes you have more then one table and related tables).
If you looking to migrate a lot of data, and a lot of tables?
Then it is high recommended that you use the Sql Server Migration Assistant for Access. (SSMAA).
It is a separate download. You can find SSMAA here:
Information on this tool, and download links can be found here:
https://learn.microsoft.com/en-us/sql/ssma/access/sql-server-migration-assistant-for-access-accesstosql?view=sql-server-ver16
While the tool has a learning curve, it is well worth the efforts for any type of serious data migration from Access to SQL server.

Snowflake ODBC Query Of MS Access Linked Tables

I have a business user I am migrating to Snowflake that has many MS Access reporting processes that use MS Access Linked Tables that he is attempting to redirect to Snowflake through an ODBC connection. If his ODBC connection specifies a Database, he can see contents of the linked table. If he tries to link a table in a different Database, MS Access can find the table in list of objects but cannot open it. It is like the process to find the table is using the full data dictionary but when you try to link it, it forms a query that lacks the database qualifier.
We have tried most all qualification of including or omitting entries out of the ODBC connection properties including the database. We can think of two work-arounds but neither are ideal because there is a large user community and the reporting is complex and vast. The two backup options are to create a separate driver for each database or to create views in Snowflake under the same database that can be accessed.
Has anybody else encountered this issue and know a better solution? Is it the version of the ODBC driver for Snowflake (which I assume is the most current because the user followed a canned set of download directions created by our IT department).

Can I use my Views on a SQL Sever database in MS Access?

I have Views on a SQL server database that I have painstakingly written. I am creating linked tables on my MS Access Database. I am only able to pick from tables. Is there a way to use my Views on the SQL Server within MS Access, which has all the data I need?
Views in SSMS:
Can only see Tables in MS Access linked Tables manager:
Yes, you can. From Access' point of view, linked tables and views are almost identical.
Except when linking a view, you need to tell Access the primary key - for tables it it determined automatically. Without specifying the PK, the linked view is read-only.
The Linked Tables Manager in Access shows only tables/views that are already linked.
To automate the process, see here: https://stackoverflow.com/a/32316883/3820271

MS Access SQL Query (not VBA) to 3rd Party Database

Looking to do this without using VBA and using MS Access SQL. You know, going to Query Design and then clicking the "SQL" button in the bottom right corner.
I have some users that know basic SQL SELECT queries, but don't know VBA, and want to write their own queries while we are building the front-end for the PostgreSQL database everything is being migrated to. What is the syntax to query an ODBC connection in MS Access SQL (again, not using VBA)?
In a nutshell, database migrated from Access to PostgreSQL, some users know SQL but not VBA, want to do queries that haven't been built into the new front-end yet, looking for the correct syntax in MS Access SQL FROM [ODBC:postgres].Users or something. Thanks for the help!
Consider either of following. During creation of either, you will be prompted for ODBC DSN/Driver. Two prerequisites are required: MS Access GUI .exe and Postgres ODBC driver:
LINKED TABLES: link Postgres tables in Access frontend and write queries with Access SQL dialect. Since linked tables are live, all data changes reflect in the Postgres database. Find this option under External Data tab and choose the globe icon.
PASS-THRU QUERIES: create pass-thru queries and write in Postgres SQL dialect. Do note: only single statements are allowed, no multi-step or stored procedures allowed. Find this special query type under Create / Query Design conditional tab, also a globe icon.

Unable to modify form in Access when linked to ArcGIS

I created a split Access 2010 database with a backend for just tables and the frontend with queries and forms. The frontend is linked using an OLE DB connection to ArcGIS, which works fine. When the database connection is connected I am unable to modify my forms but I can update and create queries.
Could this be an issue with having the forms bound to my table query? or is it because I am using a table query for the form? I don't know how to update my table records from the form without it being bound to the table.
This is also a multiple user database and other users maybe linking this to ArcGIS and might also need to make modifications.
Thanks.
From the ArcGIS 10.2 help:
Linked tables in Access are not viewable through an OLE DB connection, although Access queries are available. To use the linked table, create a query in Access that references the linked table and connect to the linked table through the query in the OLE DB connection.
http://resources.arcgis.com/en/help/main/10.2/index.html#//005s00000023000000