Hi Sergey,
I Trace de program and the line who cause the trouble is that,
IF LOWER(loObj.BASECLASS ) = 'cursor' AND "\"$loObj.DATABASE
What i don't understand is this '....AND "\"$loObj.DATABASE....'
If i remove this peace of code it work
Thanks'
João Batista