PdcCalculation.UserFieldList

From External Bemet Wiki
Revision as of 10:38, 21 May 2012 by Mike (talk | contribs)
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.

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.