hayub
asked on
Deleting the Runtime Parameter in Report Builder 6i
Hi Folks,
I have designed a report in Report Builder 6i, which takes runtime parameter from the user, say an Item Code from the user and then prints the report for that particluar Item. I have about 2000 different items and for that I have to run the report 2000 times and each time the user will input the item code value and then the report will print.
Now I want to delete the runtime parameter from the report so that we will run the report only once and it will print the reprots for all the items. When I delete the runtime parameter and run the report, it does print all t he items but the whole formatting of the report is totally disturbed. Is there any property of the report so that each item will be printed on separate page and the formatting will remain intact?
TIA
Hassan
I have designed a report in Report Builder 6i, which takes runtime parameter from the user, say an Item Code from the user and then prints the report for that particluar Item. I have about 2000 different items and for that I have to run the report 2000 times and each time the user will input the item code value and then the report will print.
Now I want to delete the runtime parameter from the report so that we will run the report only once and it will print the reprots for all the items. When I delete the runtime parameter and run the report, it does print all t he items but the whole formatting of the report is totally disturbed. Is there any property of the report so that each item will be printed on separate page and the formatting will remain intact?
TIA
Hassan
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You have to use Lexical parameters in Reports.
Lexical parameters can made a WHERE clause in the select appearing
or disappearing.
The only problem is that it is not a good idea to put the whole where clause as parameter.
You should use two parameters:
par 1 : values Y and N
par 2 : the item code
In the BEFORE ... trigger analyze the values and construct the third hidden parameter that is the lexical parameter.
The bettre way is to construct a separate report for this new case.
Lexical parameters can made a WHERE clause in the select appearing
or disappearing.
The only problem is that it is not a good idea to put the whole where clause as parameter.
You should use two parameters:
par 1 : values Y and N
par 2 : the item code
In the BEFORE ... trigger analyze the values and construct the third hidden parameter that is the lexical parameter.
The bettre way is to construct a separate report for this new case.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Bob