tomkonec
Technical User
- Mar 22, 2001
- 25
I have the following challenge using Crystal
EXAMPLE DATABASE
FIELDS:
Product Section No Price
-----------------------------------
6977AQR 1.10 1.16
6978ARW 1.10/2.10 0.78
6978AWD 2.2 /2.10 1.19
6979AWQ 2.10 0.98
The slash in the section number shows that the product appears in more than one section. The slash is always in position 5 of the "Section No" field
The database is a list of products and I would like to print a list of products grouped and sorted by section number. This is fine, however the complication comes where the product is repeated in more than one section. In this situation I would like to print (i.e. duplicate) the product in both sections.
Example:
SECTION 1.10
6977AQR
6978ARW
SECTION 2.10
6978ARW
6978AWD
6979AWQ
SECTION 2.2
6978AWD
Hopefully this makes sense. I'm not sure where to start in order to make the rows duplicate themselves.
EXAMPLE DATABASE
FIELDS:
Product Section No Price
-----------------------------------
6977AQR 1.10 1.16
6978ARW 1.10/2.10 0.78
6978AWD 2.2 /2.10 1.19
6979AWQ 2.10 0.98
The slash in the section number shows that the product appears in more than one section. The slash is always in position 5 of the "Section No" field
The database is a list of products and I would like to print a list of products grouped and sorted by section number. This is fine, however the complication comes where the product is repeated in more than one section. In this situation I would like to print (i.e. duplicate) the product in both sections.
Example:
SECTION 1.10
6977AQR
6978ARW
SECTION 2.10
6978ARW
6978AWD
6979AWQ
SECTION 2.2
6978AWD
Hopefully this makes sense. I'm not sure where to start in order to make the rows duplicate themselves.