Forum Discussion
tristaanogre
8 years agoEsteemed Contributor
A better way of closing it is to actually close the DDT driver. This is a more complete way. I'm not fully familiar with Python syntax but this is what it should look like.
def getTableValues():
num = []
countTable = DDT.ADODriver(ConStr, query)
while not countTable.EOF():
num.append(countTable.Value[1])
countTable.Next()
for i in num:
Log.Message(i)
DDT.CloseDriver(countTable.Name)