You can assign the value of a control based on the value of another control by adding a SetValue action to a macro or by using an assignment statement in a Visual Basic procedure.
Set the value of a control based on the value of another control by using a macro