Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
谢谢管理员,我想在窗体中点击实现我的想法,我不知道代码怎么编写?
If 不知道怎么写=空 Then
不能增加
Messagebox.Show("不能为空,请输入数据!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
End
If
Tables("表名").AddNew() '增加一行
Dim r As Row = Tables("表名").Current
If r.isnull("列名1") orelse r.isnull("列名2") orelse r.isnull("列名3") then
Messagebox.Show("不能为空,请输入数据!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
return
End If
Tables("表名").AddNew() '增加一行
参考:
http://www.foxtable.com/help/topics/0595.htm