Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mdot question
Message
From
06/04/2021 07:35:53
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
06/04/2021 06:47:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01679493
Message ID:
01679579
Views:
43
>>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.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform