求助:
我是这样写的,错误提示是:此处只能用常量,表达式,变量
Dim temp as integer
Dim strSQL as string
temp=10
insert into table( int_num )values(temp)
------解决方案--------------------
Dim temp as integer
Dim strSQL as string
temp=10
strSQL = "insert into table( int_num ) values( " & temp & ") "
--用你的连接执行即可
Conn.Execute strSQL