home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global recordquery, sqlcad, base2, total, qry, filtro1, filtro2, filtro3, filtro4, tipos
- set nombre to the name of member the member of sprite the clickOn
- set longi to length(nombre)
- set posicion to integer(char longi of nombre)
- if (posicion = "4") and (tipos = "empresas") then
- exit
- end if
- set query to "qry" & tipos & posicion
- if qry <> VOID then
- DGQDClose(qry)
- else
- nothing()
- end if
- set qry to DGQDOpen(query, base2)
- DGQDSetParameterValue("par0", filtro1, qry)
- DGQDSetParameterValue("par2", filtro2, qry)
- DGQDSetParameterValue("par3", filtro3, qry)
- DGQDSetParameterValue("par42", filtro4, qry)
- set recordquery to DGQDCreateRS(qry)
- DGRSMoveLast(recordquery)
- DGRSMoveFirst(recordquery)
- set total to DGRSGetRecordCount(recordquery)
- rellenagrid()
- cursor(0)
- end
-
- on mouseEnter
- global tipos
- set nombre to the name of member the mouseMember
- set longi to length(nombre)
- set posicion to integer(char longi of nombre)
- if (posicion = "4") and (tipos = "empresas") then
- nothing()
- else
- cursor(280)
- end if
- end
-
- on mouseLeave
- global tipos
- set nombre to the name of member the mouseMember
- set longi to length(nombre)
- set posicion to integer(char longi of nombre)
- if (posicion = "4") and (tipos = "empresas") then
- nothing()
- else
- cursor(0)
- end if
- end
-