Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refresh
Message
From
29/03/2003 14:09:35
 
 
To
29/03/2003 12:49:07
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00771276
Message ID:
00771745
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

I've removed Grid.Recordsource = "" and Grid.cworkarea="" but the result is exactly the same no refresh in the grid until I close and reopen the form...
Gilles Azria
-------------------------------------------------
http://www.profiledatabase.com
http://www.photoprofile.ch
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform