Previous Next


Locking Inputs

Inputs in an RDK model can be "locked" to a particular value, using the LockState and LockValue properties of the RDKInput object. Inputs can be locked to the expected value of any sampled distribution or to any other numeric value you specify. The LockingEnabled property of the RDKInputs collection object controls globally whether a model can lock its inputs.

For example, to lock an RDK input to the value 100, you would write:

RDKApp.Inputs.LockingEnabled = TRUE
With RDKApp.Inputs("Revenue")
    .LockState = RDKLockStateValue
    .LockValue = 100
End With