Gopal
Gopal

Reputation: 11972

How to use already created database?

How to select a same database?

I want to create a table from already created database.

Using vb6

My code.

Set db = DBEngine.CreateDatabase("1.mdb", dbLangGeneral)

I don't want to create database, I want to used already created database, so 1.mdb is already created. I want to use the 1.mdb database

How to modify a code?

Need vb6 code Help

Upvotes: 2

Views: 188

Answers (1)

AngryHacker
AngryHacker

Reputation: 61606

Here you go.

Dim db As DAO.Database
Set db = DBEngine.OpenDatabase("Northwind.mdb")

Upvotes: 1

Related Questions