Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simple refresh to Grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00067888
Message ID:
00068375
Vues:
28
>>NICK,
>>By running with the View window (as suggested) I found another unrelated (but related) view to requery:
>>When there is another view unassociated with this screen but observing the same fields being operated on - it also must be requeried :~'
>>
>>>>>. Select MailParm
>>>>>. =tableupdate(.T.,.T.)
>>>>>. =requery()
>>SELECT vwMAILl
>>=requery()
>>>>>. Select MailME
>>>>>. =requery() && this does not show me the proper list
>>>>>. thisform.refresh() ...
>>
>>>>Ed, did you try to trace step-by-step in the Debugger what's going on after tableupdate?
>>>>If there are local views check the underlying tables in View window too.
>>
>>>>Nick
>>>Hi Nick,
>>
>>THANX
>>ED B
>
>So, Ed, did you find the solution to the original problem? In general all you do is right and it supposed to work. If you changed values, updated the underlying table, requeried the view and refreshed the grid everything should be OK. I usually prefer directly refresh the grid( like thisform.myGrid.refresh() ) after making changes, but it depends of the form.
>
>Nick

Yes Nick that solved that Err - The only thing on this screen that changes is the Top grid which makes me think that instead of a Refresh Form, I should use your technique to Refresh Grid instead - Thanks for your help!
Edgar L. Bolton, B.S. B.B.A.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform