Hi,
I'm creating a fairly complex report in Crystal Reports 2008 and I was looking for a bit of help.
The invoicing table I'm working with has a column with our internal cost code, which is in the format 12345AB1234. I want to retrieve the cost code description, which is in another table, however that table is in this format:
Type | Code | Description |
---|---|---|
P1 | 12345 | Part 1 description |
P2 | AB1234 | Part 2 description |
I'd like to add one column to my report with the description of part 1 of the cost code, and another column with the description of part 2.
I therefore can't use the standard Database Expert table linker, because no field matches exactly. Is there a way to do this? I thought it must be possible using the Add Command option in Database Expert, but I can't see what I would put in the SQL field.
Is anyone able to help?