以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 最大值的行的引用 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=55258) |
-- 作者:zhupengfei -- 发布时间:2014/8/13 11:44:00 -- 最大值的行的引用 表a中有两列,第一列为日期型,第二列为逻辑型。 现在,我想判定表a中第一列日期值,最大的那一行,然后在此行的第二列输入true,怎么写。
|
-- 作者:Bin -- 发布时间:2014/8/13 11:45:00 -- Dim dr As DataRow = DataTables("表A").Find("","日期 Desc") if dr isnot nothing then dr("逻辑")=true end if
[此贴子已经被作者于2014-8-13 11:52:59编辑过]
|