How to properly add new records to empty recordset manually?

后端 未结 3 1514
自闭症患者
自闭症患者 2021-01-02 01:15

How to add new records to a new & empty ADODB.Recordset manually?

Right now, here\'s what I\'m doing that isn\'t working:

Dim rs as ADODB.Records         


        
3条回答
  •  渐次进展
    2021-01-02 02:01

    With an open connection Conn:

    sSql="INSERT into mytable (somefieldname, anotherfieldname) values  ('Somevalue','Anothervalue')"
          Conn.Execute sSql
    

提交回复
热议问题