Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
不要用CurrentTable.AddNew
用Tables("表名").AddNew试试。
如果还是不行,请贴出增加行的代码。
Dim r As Row = Tables("业绩统计").Current
If r.isnull("客户名称") OrElse r.isnull("货物名称") Then
Messagebox.Show("不能为空,请输入数据!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
Return
End If
Tables("业绩统计").AddNew
Dim r As Row = Tables("业绩统计").Current
If r IsNot Nothing AndAlso (r.isnull("客户名称") OrElse r.isnull("货物名称")) Then
Messagebox.Show("不能为空,请输入数据!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
Return
End If
Tables("业绩统计").AddNew
试了不行