PdcCalculation.UserString: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
== Notes ==
== Notes ==
This property sets or returns the value of one of the 10 fixed userfields of the active calculation.
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.
 
Its index runs from 0 to 9. The corresponding fieldname starts with 1 (DO_USER1)


== Code example ==
== Code example ==

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