应该是ADD NEW还是什么,我实在不会,请高手帮忙。作者: yyh740225 时间: 2006-10-19 19:12
应该是INSERT INTO 还是ALTER
请指教
Dim RowsCount As Long
Dim i As Integer
RowsCount = DCount("*", "总表") '报表总行数
If RowsCount < 8 Then
i = 8 - RowsCount
a = Me.编号
For X = 1 To i
insert 总表 ("编号") values (a) ‘新追加记录,编号同现表中值一样,其它项为空
Next X
End If
运行时出错缺少参数,能否帮我看一下错在哪里?