RefreshHomeviewOnClose
Structure
RefreshHomeViewOnClose(sCompany,sID)
Parameters
| Parameter | Type | Description |
|---|---|---|
sCompany | String | the Company of the asset that should be looked up on main screen |
sID | String | the ID of the asset that should be looked up on main screen |
Description
This procedure refreshes the data on the main screen, looking up the asset in sCompany and sID variables.
Example
' for example, say you need to change an Equipment field in the 'Event Finish - Equip. End' trigger action - this trigger action occurs after the main screen has automatically been refreshed
' with event changes. So this procedure could refresh it again, to see the change you just made in script.
SetEquipmentFieldText('USER1', 'NEW VALUE')
RefreshMainScreen(LookupEquipmentCompany, LookupEquipmentID)
See also
No related topics