I found my error. I assigned my query to a var:
Code: Select all
cSelect:= "SELECT [b]Count(ID)[/b] FROM " +::cTablaSys + " WHERE APPNAME='"+cAppName+"'"
Code: Select all
? "Consulta", ::oRSDB:Fields( 'ID' ):Value
Code: Select all
cSelect:= "SELECT [b]Count(ID)[/b] FROM " +::cTablaSys + " WHERE APPNAME='"+cAppName+"'"
Code: Select all
? "Consulta", ::oRSDB:Fields( 'ID' ):Value
Code: Select all
oRs := FW_OpenRecordSet( oCn, "select * from TbConfig" )
XBROWSER oRs
oRs:Close()
Code: Select all
oRs:Fields( 'ID' ):Value