PdcCalculation.UserFieldList: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
UserFieldList as [[PdcUserFieldList]] | |||
== Description == | == Description == | ||
Returns the userfieldlist object | |||
== Notes == | == 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 == | == Code example == | ||
This code example returns the value of free userfield "FREEUSERFIELD" of the active calculation. | |||
<source lang="vb"> | <source lang="vb"> | ||
dim objCalc | |||
set objCalc = pdc.ActiveCalculation | |||
msgbox objCalc.UserFieldList.GetUserField("FREEUSERFIELD") | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since December 2007. |
Latest revision as of 10:45, 20 December 2018
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.