Filter/Scope dilemna
Posted: Tue Sep 04, 2007 1:20 pm
I need some ideas on how to accomplish a multiple filter that will work fast. I have four separate browses in a window with different filters working from the same database ...and the filter will change dynamically based on user input also.
SET FILTER TO UPPER(jobdate1->status) != "COMPLETE" .AND. jobdate1->scheddate = dDate1 .AND. jobdate1->presscode = cPressCode
Obviously FILTER is SLoooowwwww. It can take upwards of 4-5 seconds to paint the screen or change the view.
Are there any techniques to accomplish this that will be faster?
I was experimenting with a combination of FILTER and SET SCOPE, but couldn't even get the SET SCOPE beyond a compiler error ("parse error at SCOPE".... SET SCOPE TO dDate1...indexed on date).
Ideas are appreciated! Thanks.... Greg
SET FILTER TO UPPER(jobdate1->status) != "COMPLETE" .AND. jobdate1->scheddate = dDate1 .AND. jobdate1->presscode = cPressCode
Obviously FILTER is SLoooowwwww. It can take upwards of 4-5 seconds to paint the screen or change the view.
Are there any techniques to accomplish this that will be faster?
I was experimenting with a combination of FILTER and SET SCOPE, but couldn't even get the SET SCOPE beyond a compiler error ("parse error at SCOPE".... SET SCOPE TO dDate1...indexed on date).
Ideas are appreciated! Thanks.... Greg