Rss & SiteMap

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

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

标题:[求助]DrawCell事件错误

1楼
moseser 发表于:2023/11/2 12:20:00
.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2022.8.18.1
错误所在事件:表,预计总成本,DrawCell
详细错误信息:
调用的目标发生了异常。
列“综合单价_盈亏”为只读。

列“综合单价_盈亏”是表达式列

DrawCell代码如下:

If e.Col.IsNumeric = True Then
    If e.Row(e.Col.name) = 0 Then
        e.Row(e.Col.name) = Nothing
    End If 
End If

我想实现的是,当为0 时,表上不显示内容


2楼
有点蓝 发表于:2023/11/2 12:22:00
If e.Col.IsNumeric = True Then
    If e.Row(e.Col.name) = 0 Then
        e.text = ""
    End If 
End If
共2 条记录, 每页显示 10 条, 页签: [1]

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

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