Reposition After Modify (Magic xpa 2.x)
Only Online tasks that have a Table control on the form are influenced by this setting.
When this setting is set to Yes:
When changing the value of a variable that is one of the segments of the main index of the task, or when inserting a single new record in Modify mode only, the following actions occur on exiting the record:
-
Magic xpa writes the record back to the database.
-
Magic xpa rereads the records of the current screen from top to bottom. This causes the changed record to be redisplayed in its new position, or to disappear from the screen if it is outside the screen.
-
Magic xpa parks on a new record according to the action, such as Down Arrow, PgDn, etc., that is used to exit the record.
When this setting is set to No:
The second operation (rereading the screen) does not occur, and Magic xpa does not reread the records of the current screen. This causes the record to remain in its old position, even though it is now out of sequence. The record will maintain its position until scrolled outside the screen.
The Refresh Task Window property overrides the value of this setting. If it is set to Yes the screen will be reread from the database every time a record is updated, whether or not the main index values change.
Note: This setting can cause the same physical record to appear twice on the same screen due to lack of refresh.
When the Reposition After Modify environment setting is set to work (=Yes), and records are modified during the multi-marking handling process, the reposition will only occur at the end of the multi-marking process. In this case, the record marking will be cleared.
Available values: Yes, No
Default: No
Change effective: Immediate
Magic.ini and Command Line name: RepositionAfterModify