>>There is stuff that is unable to survive badly written asynched events.
>>A
>>
>>REPLACE;
>> Alias.Field WITH VALUE;
>> FOR condition;
>> IN Alias
>>
>>Will die silently, if async code sets the current workarea to something different then alias, but on EOF, as far as I remember.
>
>Actually, with the IN clause there, this one should be fine. Without IN, it's dangerous. Every REPLACE should include IN.
>
>Tamar
Then this must be changed sometimes. There was a problem with active workarea at eof and using IN
Anyway. No, one must not. If the code runs encapsulated (in a distinct DE) nothing will change work area. This happens only to code running in a form or DE bound to a form. What violates n-tier approach. One of the reasons to encapsulate data processing from FORM. (And FORMS DE in particular)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]