I need help with how to store values in an array in Crystal Reports 10. The end result I'm trying to achieve is a column on a report which contains one or more names enclosed in double quotes.
Here's a sample of what I need the report to look like:
ID: TASK: START: FINISH: RESOURCES:
001 Install carpet 06/30/10 07/01/10 "John, Fred"
The line above is from the Details section of the report. I already have the report created but need to add the last column "Resources" to the report.
The values for the "Resources" column will be coming from a database table which stores time card information related to the data in the "Task" column. For each task there may be more than one person with time card entries.
I need to retrieve the names from any time cards for each task and display/format as shown above.
I'm thinking an array would be the best way, but am not sure how to implement the logic to capture this information for each record returned in the Details section.
Any help would be greatly appreciated! Hope this makes sense, if not I can provide further detail.
Here's a sample of what I need the report to look like:
ID: TASK: START: FINISH: RESOURCES:
001 Install carpet 06/30/10 07/01/10 "John, Fred"
The line above is from the Details section of the report. I already have the report created but need to add the last column "Resources" to the report.
The values for the "Resources" column will be coming from a database table which stores time card information related to the data in the "Task" column. For each task there may be more than one person with time card entries.
I need to retrieve the names from any time cards for each task and display/format as shown above.
I'm thinking an array would be the best way, but am not sure how to implement the logic to capture this information for each record returned in the Details section.
Any help would be greatly appreciated! Hope this makes sense, if not I can provide further detail.