fdmAPI.executePLSQL returns None
Hi Experts,
I'm trying to execute a custom script, within i try to execute a select query.
The statement is simple:
RS = fdmAPI.executePLSQL("SELECT DATAKEY FROM TDATASEG")
while (RS.Next()):
var1 = RS.getString("DATAKEY")
fdmAPI.showCustomMessage("Query select: "+str(var1)) |
The result is an error:
while (RS.next()):
AttributeError: 'NoneType' object has no attribute 'next'
Can you help me plz
Thank you,
Best regards,
Hassan