Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refresh???
Message
 
 
To
05/08/1998 16:59:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00124278
Message ID:
00124287
Views:
24
Jamie,

You don't have to CREATE VIEW more than once. This should work just fine:

Requery( "TempView" )
thisform.Refresh()


>I have a grid in a form with the record source as a view named 'TempView' and RecordSourceType as 1-Alias. Based on user selection a method is called which "Re"creates the view using Create SQL View TempView. I then do thisform.refresh. The view is recreated but the grid is not refreshed. I have also issued the command requery('tempview') but this is no help. I know the view is created because if I exit and reenter the form the most recently executed view is present. Any Assistance would be greatly appreciated....
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform