Hello,
after migration to Uniface 10 last week, we have discovered, that in a special case the store/complete does not fire the write trigger as it does in Uniface 9.
The form that does not store the data is a containded form in a TABEX in a parent form.
The write trigger is only activated when data in the form is entered by keyboard.
If the data is only changed by proccode the write trigger is not activated.
Values Returned by store in $status
Value | Meaning |
---|
1 | No data was stored because no modifications were made to the data since the last retrieve or store statement. Or, no entities are painted on the component. |
0 | Data successfully stored. |
In Uniface 10 store returns Status 1 (S:1)
S:0 P:0 F:G_RS_VI E:ERZEUGER F:ERZ_NR (); LP_STORE; 1; [0]; store/complete
S:1 P:0 F:G_RS_VI E:ERZEUGER F:ERZ_NR (); LP_STORE; 2; [0]; if ($status < 0)
Whereas in Uniface 9 store return Status 0 (S:0)
S:0 P:0 F:G_RS_VI E:ERZEUGER F:ERZ_NR (_OPER); LP_STORE; 1; [0]; store/complete
S:0 P:0 F:G_RS_VI E:ESB F:APNR (_write); WRIT; 1; [0]; if (APNR.ESB = "NEU")
Any ideas what could be the reason?
Or is the a BUG in Uniface?
Regards
Norbert