PdcCalculation.UserString: 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
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
UserString(Index as long) as String


== Description ==
== Description ==
 
Returns or changes a fixed userfield


== Notes ==
== Notes ==
This property sets or returns the value of one of the 10 fixed userfields of the active calculation.


Its index runs from 0 to 9. The corresponding fieldname starts with 1 (DO_USER1)


== Code example ==
== Code example ==
 
This code example returns the value of userstring 1 of the active calculation.


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


  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.UserString(0)
</source>
</source>


== Availability ==
== Availability ==

Latest revision as of 10:22, 20 December 2018

Declaration

UserString(Index as long) as String

Description

Returns or changes a fixed userfield

Notes

This property sets or returns the value of one of the 10 fixed userfields of the active calculation.

Its index runs from 0 to 9. The corresponding fieldname starts with 1 (DO_USER1)

Code example

This code example returns the value of userstring 1 of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.UserString(0)

Availability