【发布时间】:2018-08-27 02:33:08
【问题描述】:
我正在表单开发者 11g 上创建计算器
我想在一个显示项中显示多个值,例如 1 + 1
我有多个按钮,例如 1、2、3...等等
【问题讨论】:
标签: oracle11g oracle10g oracleforms oracle-fusion-middleware
我正在表单开发者 11g 上创建计算器
我想在一个显示项中显示多个值,例如 1 + 1
我有多个按钮,例如 1、2、3...等等
【问题讨论】:
标签: oracle11g oracle10g oracleforms oracle-fusion-middleware
如前所述,使用串联;每个按钮都有自己的WHEN-BUTTON-PRESSED 触发器并执行
-- WBP on digit '1' button
:block.item := :block.item || '1';
-- WBP on digit '2' button
:block.item := :block.item || '2';
--WBP on the "+" sign button
:block.item := :block.item ||'+';
等等。
【讨论】: