How to Use Query Created in SQL Server with a Front End Ms Access

JRSam

New Member
Joined
Jun 25, 2021
Messages
13
Office Version
  1. 2019
Platform
  1. Windows
Hi everybody,

I am new to SQL server. I have been using Ms Access for nearly 6 yrs. Now That my database have grown in data, I decided to use SQL server as backend and Ms access as front end.

Right now I am learning all the steps to migrate my Ms Access backend to SQL server. But right now I would to know how to use a query created in SQL server by the Front end of Access. Is it possible?

Of course I have pass-through query resided in front end Access but what about a query created in SQL Server. Is it possible to use it by the Front end?

If yes, please step by step how. Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
> When I create a query, it is being saved in a folder

you don't save files in sql server like you do in access
you can't write some sql commands and save like you can in access
what you can do is create a stored procedure
SQL Stored Procedures

creating a stored procedure is sort of like creating a table
you write some sql commands and save them as an object in the database
but instead of the object being a table its a stored proc
you use a passthrough query to run the stored proc and have its results returned to you
 
Upvote 0
Solution
> When I create a query, it is being saved in a folder

you don't save files in sql server like you do in access
you can't write some sql commands and save like you can in access
what you can do is create a stored procedure
SQL Stored Procedures

creating a stored procedure is sort of like creating a table
you write some sql commands and save them as an object in the database
but instead of the object being a table its a stored proc
you use a passthrough query to run the stored proc and have its results returned to you
Thank you. Now I understand. I was getting confused the way we use query in access.
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top