PdcCalculation.UserString

From External Bemet Wiki
Revision as of 10:22, 20 December 2018 by Arjan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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