以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  InsertNew()问题  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=141282)

--  作者:wangjh8888
--  发布时间:2019/9/25 17:41:00
--  InsertNew()问题
老师:
Dim t As Table = e.form.controls("Table-自定义场景po").Table
Dim nr As Row = t.InsertNew()
nr("Screen") = cur_ScreenName
nr("Class") = cur_ScreenClass

使用InsertNew()方法后,确实插入了一记录,但是
nr("Screen") = cur_ScreenName
nr("Class") = cur_ScreenClass
不能执行,不知道什么原因?    请教!

(注:使用Addnew方法就可以)

--  作者:狐狸爸爸
--  发布时间:2019/9/25 22:28:00
--  
代码看不出问题,用例子说话