PdcCalculation.CustomerName: 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 ==
 
CustomerName as String


== Description ==
== Description ==
 
Returns the customername


== Notes ==
== Notes ==
 
This property returns the 'CustomerName' of the customer selected in the current calculation. If you want to change the customer use the property 'SetCustomerID'.\


== Code example ==
== Code example ==
 
This code example returns the CustomerName of the active calculation.


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


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


== Availability ==
== Availability ==

Latest revision as of 09:08, 21 May 2012

Declaration

CustomerName as String

Description

Returns the customername

Notes

This property returns the 'CustomerName' of the customer selected in the current calculation. If you want to change the customer use the property 'SetCustomerID'.\

Code example

This code example returns the CustomerName of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.CustomerName

Availability