Do you own source code? If you do all you have to do is in the before.program section add the query.extension code. Below is sample code we have in one session - when you zoom from the tiudi session it creates a filter on the session. If you do not have source code then you need to look at a source extender option.
if prog.name$ = "tiudi4102m000" then
query.extension = "tirou001.cwoc <> " & chr$(34) & "ZZZ" & chr$(34) & " and tirou001.kowc <> 3"
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.