H
hdaniels
Guest
The SmartFilter does not seem to have a hook suited for this. You could consider reimplementing the ApplyFilter method (in a customfilter super or your own version of dynfilter.w) as an override and manage it there. Another alternative is to override openQuery in the SDO and do the checks before you call super. This may seem a bit scary since openQuery is called from many places, including on server. I would add some checks to ensure the validation only is done on the client. This is typically accomplished by checking that AsDivision " server". It may also be a good idea to check that you have at least one DataTarget to ensure the check only is done when the SDO is a data source of a visual object. A third alternative is to combine the two approaches and override (not reimplement) ApplyFilter to just set a flag in the SDO before the call to super and set it false again after the call to super and then fix the check in openQuery to only be done when called from the filter (when the flag is set).
Continue reading...
Continue reading...