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 |
||
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. | |||
== 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. |
Revision as of 10:38, 21 May 2012
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.