Importing from Distributable Database

E

Eddy

I am using the following code to import from one mdb file to another in
Access2003.

strTableName = "tbl1"
strDBName = "C:\Database\Database.MDB"

Set db = DBEngine.Workspaces(0).OpenDatabase(strDBName, False, True, "")
Set rst = db.OpenRecordset(strTableName)
Set db1 = CurrentDb()
Set rs1 = db1.OpenRecordset("tbl1", dbOpenDynaset)


I am going to distribute both databases using the Access 2003 Developers
Extensions. My question is will this code work after the database is made
into a distributable one using the Startup and Package Wizards int the
Developersextensions. Will I still be able to import from and to the new
program?
 
D

Douglas J. Steele

There should be no trouble importing data (or queries or macros, I think)
from one mdb to another with the runtime.

There will be problems trying to import forms, reports or modules, as they
require the ability to get into Design mode, which the runtime doesn't
support.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top