以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  高效率的流水账  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=66709)

--  作者:seal51
--  发布时间:2015/4/12 15:22:00
--  高效率的流水账
在高效率的流水账中做一个窗口, 如何在窗口里做一个显示文本框,让其动态显示最终的余额呢?
--  作者:有点甜
--  发布时间:2015/4/12 15:25:00
--  
窗口设置定时器,每秒执行一次:

Dim t As Table = Tables("表名")
if r.Current IsNot Nothing then
     e.form.controls("控件名").Value =  t.Rows(t.Rows.Count -1)("余额")
Else
  e.form.controls("控件名").Value = nothing
end if

参考:

http://www.foxtable.com/help/topics/1301.htm

[此贴子已经被作者于2015/4/12 15:25:12编辑过]

--  作者:seal51
--  发布时间:2015/4/12 15:26:00
--  

谢谢老师回复, 研究一下