Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a grid
Message
De
06/01/2000 10:53:40
Larry Santos
Local Data System
Philippines
 
 
À
06/01/2000 09:59:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00313875
Message ID:
00313923
Vues:
22
Hi,
try to use view then =requery(view) then refresh the grid as u did....


>I'm using vfp 6.0. I have a timed event that will update a grid but nothing happens when the timer goes off...the grid doesn't appear to be updated....
>
>Here's the code in the timer event....
>
>
>SELECT ID FROM NEWFORMS ;
>INTO CURSOR cNewRegs ;
>WHERE !EMPTY(ID) ;
>AND EMPTY(STATUS) ;
>AND REG_TYPE = .T.
>
>IF _TALLY = 0
> WAIT WIND 'No updates to be made' timeout .5
>else
> wait wind 'updating grid with new data' timeout 1
> ThisForm.RegGrid.refresh()
>endif
>
>TIA
>
>Jeff T.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform