Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a grid that uses a SQL statement
Message
De
08/08/2001 19:05:16
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00541558
Message ID:
00541619
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform