Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refresh
Message
From
29/03/2003 12:49:07
 
 
To
29/03/2003 08:23:13
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00771276
Message ID:
00771737
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform