Example

The following example shows how to refresh the list of lsxECLField objects contained in the lsxECLFieldList object.

' Create a new connection manager
dim myCMgr as new lsxECLConnMgr
 
dim myPSObj as lsxECLPS
set myPSObj = myCMgr.lsxECLConnList(1).Handle
 
dim numFields as Long
 
' Build the field list and get the number of fields
myPSObj.lsxECLFieldList.Refresh
numFields = myPSObj.lsxECLFieldList.Count