Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Barbara,
Found out what happended and it works now,....thanks....reason that it didn't work in the first place was that both the parent & child table for invoice numbers has different char widths.
Jeff
>Jeff,
>Jess Banaga gave you the syntax correctly (watch the hierarachy if your grid is in a pageframe).
>
>If your code for choosing records is in the Combo Box VALID event, then add the refresh there. If both the combo box and the grid are sitting on the same parent (a page or a form) then the code would be: THIS.Parent.MyGrid.Refresh()
>(Use the correct grid name, of course).
>
>Be sure that the parent table is set to the correct record pointer (if you're using grid properties to show the child records) or that your view is requeried (if you are using a parameterized view) before the grid is refreshed.
>
>HTH
>Barbara
>
>>Hi Barbara,
>>How do i add the Grid refresh,...Do I add it in the combo box event or the grid's refresh event?...I am pretty new to this OOP thing used to do Foxpro on DOS...
Précédent
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