This method can be called to access a value on the Agentry Client. This value must be defined as an Agentry Data item in the External Field - ActiveX Control detail screen field. The name of the value, as defined in the Agentry Data list, is passed to the methods DataItem parameter. The value of that item is returned in the agentryString parameter as a string value regardless of the property’s data type within the mobile application.
HRESULT GetAgentryString (BSTR DataItem, BSTR agentryString)
The HRESULT return indicates the status of the method call.