Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>> Corrected that within the grid and it is displaying on the screen now but I still need to filter the records shown to those matching the parent table. At least I'm passed that other hurdle! Thanks for the help!!
Glad I could help.
One way to "filter" records is to use SET KEY.
It's usually faster than SET FILTER and allows one to isolate Grid behaviour from the other tables.
SET KEY is a "softer" relation than using SET RELATION, or using .LinkMaster and .RelationalExpr in the Grid itself.
That's at least 4 different ways to "filter" records in a Grid; each with its own type of behaviour under different circumstances. You may have to play with them all to find out what works best, though SET FILTER is usually the least desirable.
FWIW, I implement all my grids in "code". A lot easier to "see" what is going on and to make rapid changes, including subclassing. I have several hundred of them. Their placement is relatively trivial if you do everything relative to the Form/Page; eg. entire Form/Page; top half; bottom half, etc.
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