PdcCalculation.CostKind: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
 
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
CostKind as String


== Description ==
== Description ==
 
Returns or changes the costkind


== Notes ==
== 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 ==
== Code example ==
 
This code example returns the costkind of the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc


  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.CostKind
</source>
</source>


== Availability ==
== Availability ==

Latest revision as of 09:04, 21 May 2012

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