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


== Description ==
== Description ==
 
Returns the customernumber


== Notes ==
== Notes ==
 
This property returns the 'CustomerID' of the customer selected in the current calculation. If you want to set the customerID use the property 'SetCustomerID'.


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


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


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


== Availability ==
== Availability ==

Latest revision as of 09:07, 21 May 2012

Declaration

CustomerID as String

Description

Returns the customernumber

Notes

This property returns the 'CustomerID' of the customer selected in the current calculation. If you want to set the customerID use the property 'SetCustomerID'.

Code example

This code example returns the CustomerID of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.CustomerID

Availability