I have a report that uses a parameter to get the order number. The order may have multiple order lines or just one. Also the order lines may need severl text entries below each line.
For example I am getting the user to enter the order number via parameter and then have another parameter asking to add Pack information (free text as we don't have a way to link the information in the database)
Order Number : 12345
Pack : 800800 2404/2
The report then shows the
Product Description (brought form the Database)
Pack: 800800 2404/2
This works great if we only have 1 pack and one order line. However this is not always the case, sometimes we may have one order line and many packs. And sometimes many order lines and many packs per order line.
So a couple of questions which I hope someone can help with
1. How can I allow the user to enter txt for many packs.
The parameter is currently set like "Pack: " + {?Pack} and I have it set so it can grow.
When prompted I enter 800800 2404/2 but if I press return expecting it to go to the next line it runs the report, ideally I want to be able to enter the first row
800800 2404/2 then another
800800 2404/3 etc... until all packs are entered. I also want the Pack: to be at the front of each one to save typing it in every time.
2. However, as I mentioned I may have more than one order line, so I may need to add packs under separate lines. so we may have for example
Line 1
800800 2404/2
800800 2404/3
Line 2
800800 2404/4
800800 2404/5
Because I am using parameters I do not know how many Lines I have until the report is refreshed. So any ideas how I get around this one please.
Thanks
For example I am getting the user to enter the order number via parameter and then have another parameter asking to add Pack information (free text as we don't have a way to link the information in the database)
Order Number : 12345
Pack : 800800 2404/2
The report then shows the
Product Description (brought form the Database)
Pack: 800800 2404/2
This works great if we only have 1 pack and one order line. However this is not always the case, sometimes we may have one order line and many packs. And sometimes many order lines and many packs per order line.
So a couple of questions which I hope someone can help with
1. How can I allow the user to enter txt for many packs.
The parameter is currently set like "Pack: " + {?Pack} and I have it set so it can grow.
When prompted I enter 800800 2404/2 but if I press return expecting it to go to the next line it runs the report, ideally I want to be able to enter the first row
800800 2404/2 then another
800800 2404/3 etc... until all packs are entered. I also want the Pack: to be at the front of each one to save typing it in every time.
2. However, as I mentioned I may have more than one order line, so I may need to add packs under separate lines. so we may have for example
Line 1
800800 2404/2
800800 2404/3
Line 2
800800 2404/4
800800 2404/5
Because I am using parameters I do not know how many Lines I have until the report is refreshed. So any ideas how I get around this one please.
Thanks