INFORMIX-SQL 7.3执行屏幕:
根据文档,在“在editadd editupdate of table”控制块之后,在将行添加或更新到表之前执行其指令,而在“在表之后添加更新”控制块之后,其指令是在将行添加或更新到表后执行。据说,这意味着任何会改变链接到table.columns的字段标记值的指令都不会提交给表,但链接到displayonly字段的字段标记会改变吗?
但是,当使用“添加表更新后”时,我放置了更改链接到table.columns的字段标记值的指令,并且它们的显示和提交值也发生了变化!我原以为“添加表更新后”只会改变displayonly字段。
TABLES
customer
transaction
branch
interest
dates
ATTRIBUTES
[...]
q = transaction.trx_type, INCLUDE=("E","C","V","P","T"), ...;
tb = transaction.trx_int_table,
LOOKUP f1 = ta_days1_f,
t1 = ta_days1_t,
i1 = ta_int1,
[...]
JOINING *interest.int_table, ...;
[...]
INSTRUCTIONS
customer MASTER OF transaction
transaction MASTER OF customer
delimiters ". ";
AFTER QUERY DISPLAY ADD UPDATE OF transaction
if z = "E" then let q = "E"
if z = "C" then let q = "C"
if z = "1" then let q = "E"
[...]
END
答案 0 :(得分:2)