Others

Connect Microsoft Access or VB6 to SQL Server Express 2019

Jason MillerJason Miller Nov 18, 2026 869 views

Question details

Use SQL Server Express 2019 to store data for an existing Access or VB6 application.

Connect Microsoft Access or VB6 to SQL Server Express 2019
Product
Microsoft Access, Visual Basic 6, and SQL Server Express 2019
Device & OS
not provided
Scenario
The user wants to keep an existing application interface while moving its data to SQL Server Express, or consider a modern replacement interface.
Observed behavior
Access or VB6 serves as the application front end, while SQL Server Express stores and manages the data.
Before you start

Identify whether the existing interface is built in Access or VB6, and confirm the SQL Server instance name, database name, and authentication method. Install an appropriate SQL Server ODBC driver that matches the bitness of the application.

Solution 1Recommended

Link Access tables to SQL Server Express

Use this approach to keep existing Access forms and reports while storing their data in SQL Server.

The SQL Server database must contain the tables you want to link. If the data is still in Access, migrate it first, for example with SQL Server Migration Assistant for Access.

1
Check the database

Open SQL Server Management Studio, connect to the SQL Server Express instance, and confirm that the target database and tables are available.

2
Start the link

Open the Access application and select External Data > New Data Source > From Other Sources > ODBC Database. Choose the option to link to the data source by creating a linked table.

3
Configure the connection

In the data source dialog, select or create an ODBC data source using the SQL Server driver. Enter the server instance, authentication details, and target database, then test the connection.

4
Select and test tables

Choose the SQL Server tables to link. If Access asks for a unique record identifier, select the appropriate key, then open the existing forms and reports to test their data sources.

Link Access tables to SQL Server Express
Review application behavior: Some Access queries, data types, or VBA code may need changes after the data moves to SQL Server. Linked tables alone do not guarantee that every existing feature will work unchanged.
Free Microsoft Office alternative

Use WPS Office for everyday documents alongside your database

WPS Office is a free, lightweight alternative for everyday office work, with a familiar interface and support for common Microsoft Office formats to make migration easier. It does not replace Access forms, VB6 applications, or SQL Server.

Work with documents, spreadsheets, and presentations in a familiar interfaceOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse spreadsheets for data you export from a SQL Server applicationGet a lightweight office suite with a free version
microsoft office alternative - wps office

Frequently Asked Questions

Can I keep my Access forms and reports after moving data to SQL Server?

Yes. Link the SQL Server tables through External Data > New Data Source > From Other Sources > ODBC Database, then test the forms and reports. Some queries or VBA code may need adjustment.

Which ODBC driver bitness should I use?

Use a SQL Server ODBC driver that matches the application. For a 32-bit VB6 application, configure the connection with the 32-bit ODBC Data Source Administrator.

Do linked tables automatically move Access data to SQL Server?

No. Linking connects Access to tables that already exist in SQL Server. Migrate the tables and data first, for example with SQL Server Migration Assistant for Access.

Should I rebuild the interface in .NET?

Not necessarily. If the existing Access or VB6 interface meets your needs, you can retain it and change the data connection. C# or VB.NET is an option when you want to develop a new interface.