Forum Post: RE: sorting performance with joined tables

  • Thread starter Thread starter hdaniels
  • Start date Start date
Status
Not open for further replies.
H

hdaniels

Guest
Yes, I think getQueryColumns and getQuerySort can tell you the filter and sort criteria when you use assignQuerySelection (also used by the SmartFilter). But to be able to stop the execution you would need to reimplement ApplyFilter (copy existing code and add necessary behavior) or handle the validation in openQuery. You should not need to clear anything, but rather leave it to the user to clear or cancel the filter when the validation fails. (If you do want to clear filter or sort I believe you should be able to use removeQuerySelection and/or setQuerySort ("") using getQueryColumns to figure out the input to removeQuerySelection).

Continue reading...
 
Status
Not open for further replies.
Back
Top