ResetCurrentEquip
Structure
ResetCurrentEquip
Parameters
none
Description
In normal IndySoft operations, after an event is closed, the asset that was previously onscreen before the event was run is refreshed (to reflect any changes from the event), and brought back to view on the main screen. But IndySoft events can also be used to create new assets, through the popup menu item above the 'Choose Equipment' grid for 'Add New Equipment From Template'. In this instance, a new asset is created and populated into the 'Choose Equipment' grid in the event. After the event is completed, this asset will NOT be the asset returned to the main screen (by default), since it did not exist before the event. If this functionality is desired, then this ResetCurrentEquip procedure can be used. This procedure simply takes the current selected record in the 'Choose Equipment' grid and insures that the event will behave (when closed) as if this asset were onscreen before the event was originally called. So in effect, this asset will be shown onscreen when the event completes.
Example
No example provided
Application Compatibility
IndySoft Calibration Management, IndySoft Commercial Lab Management, IndySoft Tool Management
Also See
No related topics |