Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Refresh
Message
De
29/03/2003 12:49:07
 
 
À
29/03/2003 08:23:13
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Divers
Thread ID:
00771276
Message ID:
00771737
Vues:
14
Hi Gilles:

>It's a Codemine Grid and before updating the view I have done Grid.Recordsource = "" and Grid.cworkarea="" and then Grid.Recordsource = "ViewName" and Grid.cworkarea="ViewName" before refreshing the Grid...

You don't need to set recordsource and cworkarea to "" if the grid's cursor/data source is a view. You would only need to do that if you were using a SQL select cursor that you were requerying (because the SQL select result cursor is effectively closed and re-opened when the select statement is executed).

Try removing the obsolete steps you mentioned above and let me know how you get on.

HTH
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform