老师,我用以下代码实现了用按钮填充数据,可是在把光标放到表的记录窗口里代码不能填充,请您指导,实现在记录窗口用按钮,用代码录入数据。
'----------------------------------批量填充-----------------------
Dim t As Table = Tables("零件目录表")
For i As Integer = t.TopRow To t.BottomRow
For j As Integer = t.LeftCol To t.RightCol
If t.Rows(i).IsNull(t.Cols(j).Name) Then
t.Value(i,j) = "调试"
'Else
'msgbox(i & "-" & j & "已经有值")
End If
Next
Next