以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  异常提示  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=117554)

--  作者:有点蓝
--  发布时间:2018/4/14 15:05:00
--  
dim cr as row = tables().current
if cr isnot nothing
    dim nr as ............
end if


--  作者:有点蓝
--  发布时间:2018/4/14 16:05:00
--  
Tables("事件联络_事件回复").DataTable.DataCols("回复日期").SetDateTimeFormat(DateTimeFormatEnum.DateTime)
Tables("事件联络_事件回复").DataTable.DataCols("发起日期").SetDateTimeFormat(DateTimeFormatEnum.DateTime)
Tables("事件联络总表").DataTable.DataCols("发起日期").SetDateTimeFormat(DateTimeFormatEnum.DateTime)
Dim cr As Row = Tables("事件联络总表").Current
If cr IsNot Nothing
    cr("回复日期") = Date.now
    Dim nr As Row = Tables("事件联络_事件回复").AddNew
    nr("发起日期") = cr("发起日期")
    nr("发起人姓名") = cr("发起人姓名")
    nr("事件标题") = cr("事件标题")
    nr("事件描述") = cr("事件描述")
    nr("涉及人员") = cr("涉及人员")
    nr("项目代号") = cr("项目代号")
    nr("项目名称") = cr("项目名称")
    nr("文件") = cr("附件")
End If