OnVocollect

This event is only used with Vocollect data collection hardware. When the Vocollect device activates a Vocollect task on an application, a recordset is sent to RFgen for processing. If RFgen needs to communicate back to the user, RFgen passes to the Vocollect device another recordset.

Group:   Events

Applies to:    Applications where Vocollect hardware is used.

Syntax:

rsIn        a DataRecord object that captures the collected data coming in from the Vocollect device

rsOut      a DataRecord object built in the RFgen VBA code that is sent to the Vocollect device

Example:

OnVocollect(rsIn, rsOut)

Public Sub prTaskODRUpdateStatus_OnVocollect(ByVal rsIn As DataRecord, ByVal rsOut As DataRecord)

  On Error Resume Next

  '

  rsIn.Param("DateTime")

  rsIn.Param("SerialNumber")

  rsIn.Param("Operator")

  rsIn.Param("AssignmentId")

  rsIn.Param("LocationId")

  rsIn.Param("UpdateMode")

  rsIn.Param("UpdateStatus")

  '

  rsOut.Param("ErrCode")  = 0

  rsOut.Param("Message")  = ""

End Sub