Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two questions about grids
Message
De
05/04/2004 15:27:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Two questions about grids
Divers
Thread ID:
00892414
Message ID:
00892414
Vues:
48
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
Fil
Voir

Click here to load this message in the networking platform