Updating the label content

You can use ObjectMethod to update the Label Ingredient Statements in the Label Content form.

The syntax is:


Dim UpdateText as Object = ObjMethod("LABELCONTENT", _OBJECTKEY, "ObjectMethod", "UPDATELABELTEXT", Nothing)

This example demonstrates how to execute the Update and Refresh buttons in the Label Content form.


Function wf_start() As Long
Dim UpdateText as Object = ObjMethod("LABELCONTENT", _OBJECTKEY, "ObjectMethod", "UPDATELABELTEXT", Nothing)
Messagelist("Update Complete")
Return 111
End Function

This example executes the REFRESH on the Parameters tab of the Label Content object.


Dim IcmTP As Object = ObjMethod("LABELCONTENT", _OBJECTKEY, "ObjectMethod", "LOADSOURCETP", Nothing) 
Messagelist("Refresh Complete")
Return 111
End Function