Hello,
I need to set visibility of rows in a dbgrid ("pool") depending on they exist in another dbgrid.("selection") to simulate a move from one grid to the other grid (both directions). pool items never change, selection items can.
When application starts, the pool is loaded, all row visible.
When loading a main application "record" from the DB, with its own selected items, I need to set visible:=false these items from the pool. (hope it's clear)
I currently try, for each items in selection grid to find its "key" in the pool grid
poolgrid.FindText(0,key,SearchOptions)
Is it correct ?
Then, how to hide this LastFoundRow ?
Thanks.










