General information
Category:
Forms & Form designer
>> 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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only