Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,

I want to put a button in an existing MS ACCESS file and when a user clicks on it i want to check a column record and match it with a same column in Ms SQL table.
If some records are missing in MS SQL i want to insert those into SQL.

For example:

I have a table in MS-ACCESS AccessTable and a column with CommonID.
And a table in MS SQL with name SQLTABLE and a column with CommonID.
I want to run a match on both columns and if any entry is missing in MS SQL after the match i want to insert it into MS SQL table.

Would be thankful if you can guide me how can i achieve it

What I have tried:

Searched google but haven't find what i was looking for
Posted
Updated 7-Sep-17 3:10am

1 solution

If you google how to query a sql db from microsoft access you'll see a few different ways. This article talks about sql pass through queries and how to set them up in Access. How to create an SQL pass-through query in Access[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900