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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a new Access DB with ADO (Deplhi 5 Ent)

Status
Not open for further replies.

martinsmith

Programmer
Apr 14, 2001
2
GB
I need to know how to create a new MS Access database through Delphi code at runtime. I would prefer to be using ADO for the access side, but havn't had any luck looking for help on this. Do you have any decent resources you could point me towards? Or any ideas about how I could do it?
 
Hi,

I have done it by using the JET engine, but not by using ADO. Should be very similar. Let me know whether you want this example.
Another way is to use an empty MDB file as a resource linking it to your executable. Again I can provide an example.

Regards
gernot
 
Yes please! preferably by email if you can to:

lists at blueticket.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top