ITask.GetFieldValue Method
Function GetFieldValue( _
ByVal fieldMnemonic As String, _
ByVal readWhereForBranches As PositionInWbsBranch _
) As Object
This language is not supported or no code example is available.
Parameters
- fieldMnemonic
- string
The unique identifier (mnemonic) of the WBS field.
- readWhereForBranches
- PositionInWbsBranch
When this instance is a WBS branch, you can tell QDV if you want to read from top, or from bottom. When set to Auto (default), it always attempts to read from bottom. When the bottom contains a formula, it reads from top.
Return Value
objectThe content of the cell as an object. Can be either numeric or text.
Exception type | Condition |
---|---|
A problem occurred. |
This method reads data from workbook, not from database. This means it can get values which
are calculated by the WBS workbook. Use GetFieldsValuesFromDb method
to read directly from database.
You cannot get blob values, i.e. embedded files, with this method. If you want to get the values of the fields that have their IWbsField.DataType set to WbsFieldDataType.AnyFile, such as "_Document" or "_Workbook", you need to call GetBlob method.
Available since QDV 7.13.0001.