下面代码建了一个数据库,并添加了一个表
Set DB = CreateDatabase(App.Path & "\1.mdb", dbLangChineseSimplified , dbVersion30)
strSql = "CREATE TABLE [exam]([id] int NULL,[myanswer] MEMO NULL)"
DB.Execute strSql
Set DB = CreateDatabase(App.Path & "\1.mdb", dbLangChineseSimplified , dbVersion30)
strSql = "CREATE TABLE [exam]([id] int NULL,[myanswer] MEMO NULL)"
DB.Execute strSql
欢迎到我的小站看看
http://lihuasoft.go163.net
objcon.execute strsql
...
objCn.execute "create table test(field1 char(10),...)"