DataSwitch Runtime Properties

GotoNode

(Integer)

This property will transfer a call to another control. See GotoNode.

Result

(Channel as Integer)   Integer

The Result property is a string containing the field value found by the last search. It can be read and set by VB code in the Enter or Error event before branching takes place. The data in the property is copied from the associated DataFind control. Of course, this and any other data available in the associated DataFind control can be accessed directly from DataFind by using the field name.

EXAMPLES

To access the result:

mystring = DataSwitch1.Result(channel)

To override the result:

DataSwitch1.Result(channel) = this is the result I really wanted

Read more about DataSwitch control.