Forum Discussion
tristaanogre
7 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)
Related Content
- 4 years ago
Recent Discussions
- 5 days ago
- 5 days ago
- 8 days ago