I have a report that I'm rewriting for someone that has a header full of hard coded items.
The report looks like this.
Report for item numbers:
"123,423,543,567,234.." and on and on.
Under that is the normal report for the item numbers mentioned in the heading.
These are all hard coded in the header text and in a monster OR, where clause.
Every time I need to add a new item to the report I have to change the hard coded header plus in the where.
I came up with a table with all the items in it that will link to the main items table for processing. This way all my user has to do is add a new item number to the table and it will appear on the report.
And I'm out of the loop.
Normally I would use a cursor to append all of the item numbers in this table together.
Any better way to do this in Cryatal? I'm working with 8.5 and XI soon.
Thanks.
The report looks like this.
Report for item numbers:
"123,423,543,567,234.." and on and on.
Under that is the normal report for the item numbers mentioned in the heading.
These are all hard coded in the header text and in a monster OR, where clause.
Every time I need to add a new item to the report I have to change the hard coded header plus in the where.
I came up with a table with all the items in it that will link to the main items table for processing. This way all my user has to do is add a new item number to the table and it will appear on the report.
And I'm out of the loop.
Normally I would use a cursor to append all of the item numbers in this table together.
Any better way to do this in Cryatal? I'm working with 8.5 and XI soon.
Thanks.