Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共9 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]表达式行

1楼
wldhj 发表于:2020/8/10 16:21:00
有没有类似于表达式列的表达式行,可以设置公式
2楼
有点蓝 发表于:2020/8/10 16:38:00
没有。不如具体说说想要做什么功能
[此贴子已经被作者于2020/8/10 16:38:55编辑过]
3楼
wldhj 发表于:2020/8/10 16:54:00
比如第一列第一行 等于第一列第二行乘以第一列第三行再加上 第一列第四行
4楼
有点蓝 发表于:2020/8/10 17:01:00
只能使用代码处理
tables("A").rows(0)("第一列") = tables("A").rows(1)("第一列") * tables("A").rows(2)("第一列") + tables("A").rows(3)("第一列")
5楼
wldhj 发表于:2020/8/10 17:12:00
这代码放在哪里能实时更新呢?比如其他行数据变动,第一行就跟着变动?
6楼
有点蓝 发表于:2020/8/10 17:27:00
DataColChanged事件
7楼
guanjianpo 发表于:2024/5/29 12:08:00

tables("A").rows(1)("第二列") = tables("A").rows(0)("第一列") * tables("A").rows(1)("第一列")

tables("A").rows(2)("第二列") = tables("A").rows(1)("第一列") * tables("A").rows(2)("第一列"),,,批量这么处理,代码怎么写,老师
8楼
有点蓝 发表于:2024/5/29 12:19:00
for i as integer = 1 to tables("A").rows.count - 1
tables("A").rows(i)("第二列") = tables("A").rows(i-1)("第一列") * tables("A").rows(i)("第一列")
next
9楼
guanjianpo 发表于:2024/5/29 12:24:00
感谢,老师,问题解决
共9 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01953 s, 2 queries.