Information générale
Titre:
Two questions about grids
Hello, i have two questions about grids:
1 - i have a grid with the recordsourcetype=Alias and the recordsource=namealias, but i have a textbox where in the interactive method place the next code:
With Thisform
set deleted on
*Set step on
do case
case .OptOpcion.OptLlamada.value=1
mivar="%"+alltrim(.text1.value)+"%"
SELECT DISTINCT Llamadas.numero, Llamadas.fllamada,;
iif(empty(fcierre),"Abierta","Cerrada") as estado,;
Usuarios_cia.nombre AS usuario, Oficina.nombre AS nombre,;
Sucursal.nombre AS colegio, Llamadas.detalle,;
Ingeniero.nombre AS ingeniero;
FROM helpdesk!llamadas, helpdesk!usuarios_cia, helpdesk!oficina,;
helpdesk!ingeniero, helpdesk!sucursal;
WHERE Llamadas.usuario = Usuarios_cia.codigo;
AND Llamadas.oficina = Oficina.codigo;
AND Llamadas.ingeniero = Ingeniero.codigo;
AND Llamadas.sucursal = sucursal.codigo;
AND str(Llamadas.numero) like mivar;
ORDER BY Llamadas.numero;
INTO CURSOR busquedasecllamadas
case .OptOpcion.OptUsuario.value=1
case .OptOpcion.OptColegio.value=1
endcase
EndWith
But it doesn't refresh the content of the grid, how can i solve this?
2- How can i select the value of the cell in my grid?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement