I found my error. I assigned my query to a var:
- Code: Select all Expand view RUN
- cSelect:= "SELECT Count(ID) FROM " +::cTablaSys + " WHERE APPNAME='"+cAppName+"'"
And after, I do
- Code: Select all Expand view RUN
- ? "Consulta", ::oRSDB:Fields( 'ID' ):Value
Very sorry