Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

All criterias required ?

Status
Not open for further replies.

ddeblomme

Programmer
Jun 18, 2002
3
BE
Hi all,

I have a report with five criterias.
There are 2 dates and 3 criterias that are List of Values.

When I make a refresh, all the criterias are required.
How can I set a criteria to be required or not ?

Thanks for your help.

Dimitri
 
Hello Dimitri,

Your question is about an issue that keeps popping up. I assume that with criteria you mean prompts.
BO works with static SQL that is generated through the query panel. If you define 5 prompts, there will be at least 5 'AND' clauses in the WHERE part of the SQL that is generated. Implicitly this means that if one ore more of these clauses will not cause ANY data to be returned , nothing will be returned from the entire SQL.
If you leave a prompt open, this requirement is met, and the result will be no data. BO does not provide a standard way around this. If you want different sets of prompts, then create matching reports to keep everything clear for everyone. T. Blom
Information analist
Shimano Europe
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top