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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement