Hi,
I'm using Crystal Reports 11.5. In my database, all the data descriptions are stored in one lookup table called "tblLookup". This table is composed of following columns: table_name, field_name, code, and description. For example, the contents of this table looks like this:
tblCustomer tblState 'AL' 'Alabama'
tblCustomer tblState 'NJ' 'New Jersey'
tblProduct tblCategory '1' 'CD'
tblProduct tblCategory '1' 'DVD'
The report that I'm trying to create has more than 100 fields, which needs to be 'translated' using the lookup table.
Please recommend the most efficient way to implement this. I'm new to Crystal Reports and I'm not sure if creating 100 subreports is the best way to do it. Or, whether I have to create a monster SQL with complicated SQL. I'd like to avoid using hard coded values in the formula as new lookup records will be added and edited.
Thank you in advance!
S
I'm using Crystal Reports 11.5. In my database, all the data descriptions are stored in one lookup table called "tblLookup". This table is composed of following columns: table_name, field_name, code, and description. For example, the contents of this table looks like this:
tblCustomer tblState 'AL' 'Alabama'
tblCustomer tblState 'NJ' 'New Jersey'
tblProduct tblCategory '1' 'CD'
tblProduct tblCategory '1' 'DVD'
The report that I'm trying to create has more than 100 fields, which needs to be 'translated' using the lookup table.
Please recommend the most efficient way to implement this. I'm new to Crystal Reports and I'm not sure if creating 100 subreports is the best way to do it. Or, whether I have to create a monster SQL with complicated SQL. I'd like to avoid using hard coded values in the formula as new lookup records will be added and edited.
Thank you in advance!
S