像主子窗体添加按钮、批量添加按钮、删除按钮、编辑按钮等常用按钮应该给出个范例嘛,这样方便像我这样的学习哦:)作者: 一点通 时间: 2007-5-12 00:34
Dim stemp As String
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
stemp = "select * from 表名"
rs.Open stemp, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
rs.AddNew