(Integer)
This property transfers a call to another control. This property is used by code in the Enter , Exit, and Disconnect events (as well as other events where specified).
Use it to override control routing defined at design time. Set this property to a valid node number in the control where the event occurs and it routes the call to the control connected to that node. Node numbers start at 0, numbered from the top.
If GotoNode is set to 0, the call is passed to the control connected to the first (top) node. The transfer takes place as soon as the event code is completed.
GotoNode can also be set to one of the ExitNodeConstants (see vbvExitNodeConstants) to invoke the default invalid digit, no digits, help digit, or caller hang-up handlers.
An error is generated if the node number is invalid. If the node is not connected, processing continues, but a VoiceError event is generated when VBVoice attempts to transfer the call, and default error handling ensues.
EXAMPLE:
To transfer to the control connected to the fifth output from the top (node 4), use the following syntax:
GetDigits1.GotoNode(channel) = 4