如题....

解决方案 »

  1.   

    用DAO
    dim db as database
    DBs.Execute "CREATE TABLE table (field1 Text(20) NOT NULL ,field2 Text(12) NOT NULL );"
      

  2.   

    插入数据就用ADO好点
    dim cn as new adodb.connection
    cn.execute "insert into ......"
    呵,自己搞定啦:)
    不难的
      

  3.   

    dim cn as adodb.connection
    set cn = new adodb.connection
    cn.open "..."(ADO连接的字符串)
    cn.execute "create table aaa(name char(8),primary key(name))" '创建
    cn.execute "drop table aaa" '删除
    cn.execute "Insert into aaa values('...')" '具体的内容
    cn.execute "alter table aaa add(age number(2))" '添加表字段
    aaa是举例表名
      

  4.   

    不好意思搞错了:p
    其实用ADO来建表更好,但是建数据库就得用DAO的CreateDatabase了.@~@