Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing access databases at run-time?

Status
Not open for further replies.

whitehandkerchief

Programmer
Joined
Oct 17, 2003
Messages
1
Location
GB
hiya, I'm working on an app to do mail merge at the moment, got a bult in BDE database so addresses etc can be added from there. But was wondering if neone knows a way that the user could import their own access database at run-time...ne ideas? cheers
whitey
 
If you mean to let the user browse to an access database to connect to, I think you can set up a database on your machine, and use an opendialog component and change the connection string to match the database they selected at runtime (set connected to false in design mode). I am assuming that you already know the structure of the database. If you do not, then I imagine you have to programatically create the table/query objects, which I have never done.

Brian
"There are 2 kinds of people in the world, those that divide people into two groups and those that don't. I belong to the second group." - tag line I stole
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top