PdcCalculation.CostKind

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

CostKind as String

Description

Returns or changes the costkind

Notes

This property returns or sets the 'CostKind' of the current calculation. The CostKind is displayed in the 'Other' tree node of the calculation form.

In case of setting this property please ensure correct data entry by using pdc.ChooseRecord. The ptPickKind for CostKinds is 28.

Code example

This code example returns the costkind of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.CostKind

Availability