表1 中有一列为 表达式列 名为 记录编辑时
该列 要求 据 金额列大于0 时 记录编辑时 列 记录当时的时间
这个表达式 如何写
If "金额"> 0
Output.Show( ""& Date.Now())
End If
请教
谢谢
if e.datacol.name="金额" then
if e.datarow("金额")>0 then
e.datarow("记录编辑时")=Date.Now()
end if
end if
这个不能用表达式的,只能用事件和代码,你将上面的代码复制到这个表的DatacolChanged事件中即可。
foxtable和易表的设计方式完全不同了,建议您看看开发篇,虽然比易表稍微难一点,但是很多以前不可能的事,现在都能够实现的了。

入了门赶快买开发版,有种预感正式开卖时狐表会涨价!!