Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh Grid Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Refresh Grid Data
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01201275
Message ID:
01201275
Vues:
59
Hi All:

I've a Grid that have data of a Cursor, but when I modify the data of the cursor, por example, delete or insert one register or varius, the grid not refresh the data. I've tried with grid's property refresh, but not operate...

I've use the code following for refresh the data:
         SELECT C_Listado
	nRecno= RECNO()
	DELETE ALL FOR Cliente = M.Cliente
	GO TOP
	SELECT C_Listado
	GO nRecno
	&&	
	SELECT C_ClientesA
	nRecno= RECNO()
	GO TOP
	IF !EOF()
		.lallowremove = .T.
	ENDIF
	SELECT C_ClientesA
	GO nRecno
	.Refresh
	&&
	.GrdLista.SetFocus
	.GrdLista.Refresh
	&&
	.GrdClientes.SetFocus
	.GrdClientes.Refresh
I need to Know,one way for simplify my code, Do you can help me?

Thanks...
If, You Cry For Not See the Sun, with The tears You Will Can't See The Stars
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform