Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

adding a new table to mdb file at runtime

I have an empty mdb file, I have to add a table to it at runtime in delphi6.

How can I do that?
0
Nayel
Asked:
Nayel
1 Solution
 
geobulCommented:
Hi,

Use a query component (TQuery, TADOQuery or TADOCommand) with 'CREATE TABLE' SQL statement. See:

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20471672.html

from my PAQ.

Regards, Geo
0
 
swift99Commented:
geo's got it dead on.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now