DriveWorks Pro 16: Drive Control Value [send feedback...]

Drive Control Value

The Drive Control Value will drive a value into a Form Control in the Specification.

This task is often used to set values in Controls or clear values in Controls. This task is useful when re-using Form Controls multiple times.

Properties

Property NameDescription
Control NameThe name of the Form Control to drive the Control Value into.
Control ValueThe value to drive into the Control Name.
Use local value formatTRUE to drive the control value to the control using the local value format. For example, dates will be converted to the local format.
TitleChanges the Title (not the name) of the task.

Control Types

The following Controls can be driven with this task:

  • Check Box
  • Combo Box
  • Date Picker
  • List Box
  • Numeric Text Box
  • Option Button
  • Slider
  • Spin Button
  • Text Box
  • Measurement Text Box
  • Option Group

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

For Control Type: Numeric Text Box

PropertyExample RuleExample ResultMeaning
Control Name"Volume"VolumeThe name of the control must be within quotes or result as a string. No spaces in Control names.
Control ValueLengthReturn*WidthReturn*DepthReturn (100*100*100)1,000,000Use the rule builder to build the rule that will result in the value to drive into the control

For Control Type: Check Box

PropertyExample RuleExample ResultMeaning
Control Name"DocumentsRequired"DocumentsRequiredThe name of the control must be within quotes or result as a string. No spaces in Control names.
Control ValueDWVariableDocumentsCheckFALSEFor a Check Box the Control Value must be either TRUE or FALSE.

For Control Type: Date Picker

PropertyExample RuleExample ResultMeaning
Control Name"ShippingDate"ShippingDateThe name of the control must be within quotes or result as a string. No spaces in Control names.
Control Value"06/26/2000FALSEFor a Check Box the Control Value must be either TRUE or FALSE.
Use local value format=TRUETRUEDate will be converted into the local format. This means that the value will drive into the Control.
26/06/2000 will be driven into the Data Picker Control.

Table of Contents