PdcCalculation.UserFieldList

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

UserFieldList as PdcUserFieldList

Description

Returns the userfieldlist object

Notes

This property returns the UserFieldList object and which can be used to set or return any of the free userfields of the active calculation. Up until PdC version 3.9 these fields are to be found in the DOU_ORDER table, from PdC version 4.0 onwards these fields are located in the DO_CALC table.

This object can not be used for fixed userfields. Use instead the property Userstring or Usercheck

Code example

This code example returns the value of free userfield "FREEUSERFIELD" of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  msgbox objCalc.UserFieldList.GetUserField("FREEUSERFIELD")

Availability

Available since December 2007.