Programmatically Change TO Context

Idea created by philmodjunk on Sep 17, 2016

    I would like to see the following script steps available for us to use in the Scripts Workspace. Their purpose would be to allow us to change TO context without actually changing layouts to do so.


    Set Context [TONameGoesHere]

    #Scripts steps in this section execute from the context of the above named TO instead of that of the current layout


    End Context

    #Scripts here once again execute from the context of the current layout


    This would allow us to work with different found sets of records without tripping script triggers and without any "overhead" intended to update a layout when all we need is the change in context and don't plan to actually display this data anyway.