All,
I read some where that we can implement the ALL prompt in a different way to take advantage of the index in 6.5. I searched the forum and I didn’t find it any where. I know how to implement ALL prompt in BO5. It creates a SQL like
COLUMN in () OR ‘’ In '’ . Since the second condition is always true, it never uses the index. I would really appreciate if someone can help me with this.
Thx
First you need to decide on the wildcard value for a prompt (ALL, *, whatever)
Then you can define a dummy object in your universe with the SQL set to your dummy value. In the Select field, type:
'ALL'
You can call your object something like “ALL query response object”
When you create a condition on a report, you drag this object over for the second part of the condition, as follows:
Prompt text: Select invoice numbers or type 'ALL' for all invoices
Condition: Invoice number in list "Select invoice numbers or type 'ALL' for all invoices" OR ALL query response object in list "Select invoice numbers or type 'ALL' for all invoices"
I misunderstood you then. I think you can try playing around with substituting the actual table.column for the ALL. I don’t have any more specifics for you but I think I have seen that done somewhere.