I need to execute a stored procedure in MS Access 2013. I use Access as front end interface which is connected to two databases. One database has a few stored procedures. I need to execute those with push of button in the Access.
Database is connected through SQL Server authentication. I started a button in Access and here is the VBA code behind this button. It's empty and just simply need more code to get it running:
Private Sub UpdateItems_Click()
End Sub
Here are the parameters to establish the connection and stored procedure name:
Server Name: BOX\SQL2014
User Name: sa
Password: 123456PS
Database: SixBit
Stored procedure name: spRefreshItems
Please don't refer me to similar question. I don't work with VBA Code and i wasn't able to mimic something from slightly different but similar example.