Exemple
L'exemple suivant montre comment définir la connexion pour un objet autECLPS nouvellement créé à l'aide du descripteur de connexion.
DIM autECLPSObj as Object DIM autECLConnList as Object DIM NumRows as Long Set autECLPSObj = CreateObject("ZIEWin.autECLPS") Set autECLConnList = CreateObject("ZIEWin.autECLConnList") ' Initialize the connection with the first in the list autECLConnList.Refresh autECLPSObj.SetConnectionByHandle(autECLConnList(1).Handle) ' For example, get the number of rows in the PS NumRows = autECLPSObj.NumRows