这几个表总的有关联吧? 如: rs.open "select * from table1 a,table2 b,table3 c where a.id=b.id and a.id=c.id",cn删除: cn.execute "delete table1 where ..."还有怎么样数据表中字段才可为空? Re:打开access-〉选择一个表-〉设计-〉选择字段-〉必添字段改为否也可以用语句实现 如:cn.execute "alter table table1 alter column 字段 varchar(20) null"
如:
rs.open "select * from table1 a,table2 b,table3 c where a.id=b.id and a.id=c.id",cn删除:
cn.execute "delete table1 where ..."还有怎么样数据表中字段才可为空?
Re:打开access-〉选择一个表-〉设计-〉选择字段-〉必添字段改为否也可以用语句实现
如:cn.execute "alter table table1 alter column 字段 varchar(20) null"
cn.execute "delete " & strTablename & " where ..."
把table1:朋友 小里
朋友 小黄
table2: 同学 小王
同学 小注变成一张表:朋友 小里
朋友 小黄
同学 小王
同学 小注
吗?
还有怎么结帖?
rs.open sqlstr,cn,1,1