Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a grid that uses a SQL statement
Message
From
08/08/2001 19:05:16
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00541558
Message ID:
00541619
Views:
22
Sergey,

It is the active page I am dealing with. I am probably missing something really basic or trying to do something impossible as this is my first attempt at using a grid with a SQL query driving the contents.

Larry

>The only active page of pageframe is refreshed when ThisForm.Refresh() runs. Put This.Refresh() in the Page.Activate of each page and see if this helps.
>
>>Part of my navigation button code calls ThisForm.Refresh() (so I can see the data for each record show up after navigation) which in turn calls the page refresh which calls the grid refresh which doesn't do anything visible.
>>
>>Larry
>>
>>>Maybe I'm missing something but what page refresh has to do with moving to the next record?
>>>
>>>>I put this code in the page's Refresh() method.
>>>>
this.grdAccSetSensors.Refresh()
>>>>dodefault()
>>>>
>>>>but it made no difference. Anyone have any ideas?
>>>>
>>>>>Call Refresh() method of the grid after you moved to the next record.
>>>>>
>>>< SNIP >
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform