I have a report that contains a sub-report displaying totals of numbers based on an underlying query. In each individual record of the query, there is a short decription. What I'm looking to do is to have all those descriptions put together as one text box on the same report. Here's an example:
Table1 fields
Number1
Number2
Number3
Description
Date
A datasheet of the table would look like this:
Number1 | Number2 | Number3 | Description | Date
4 | 3 | 6 | Outside | 5/1/2006
2 | 2 | 7 | Inside | 5/1/2006
9 | 8 | 5 | Both | 5/1/2006
The query (query1) for this report merely filters out the records I need, based on the date. The subreport points directly to the query as the control source. My report needs to have totals and a single line for all descriptions, like this:
Number1 - 15
Number2 - 13
Number3 - 18
Descriptions - Outside, Inside, Both
There is a Concatenate module within TekTips (I can't find the URL now, of course!)that I've been trying but I haven't been able to get it to work. I either get "#NAME?" or "#Error" in the text box. The errors are 'run-time error 3078' or 'run-time error 3061' or 'too few parameters Expected 1'.
The best result I was able to get from the module was the 3078 error, where the error went on to say "...Jet engine could not find the entry 'Outside'...", which was the first result in that field. My syntax in the ControlSource of the textbox at that point was:
=Concatenate([Description])
I have a feeling that I'm just missing a pointer somewhere, as in I need to more specifically specify a path to the field, but nothing I've tried works. Any help is much appreciated. Thanks.
Table1 fields
Number1
Number2
Number3
Description
Date
A datasheet of the table would look like this:
Number1 | Number2 | Number3 | Description | Date
4 | 3 | 6 | Outside | 5/1/2006
2 | 2 | 7 | Inside | 5/1/2006
9 | 8 | 5 | Both | 5/1/2006
The query (query1) for this report merely filters out the records I need, based on the date. The subreport points directly to the query as the control source. My report needs to have totals and a single line for all descriptions, like this:
Number1 - 15
Number2 - 13
Number3 - 18
Descriptions - Outside, Inside, Both
There is a Concatenate module within TekTips (I can't find the URL now, of course!)that I've been trying but I haven't been able to get it to work. I either get "#NAME?" or "#Error" in the text box. The errors are 'run-time error 3078' or 'run-time error 3061' or 'too few parameters Expected 1'.
The best result I was able to get from the module was the 3078 error, where the error went on to say "...Jet engine could not find the entry 'Outside'...", which was the first result in that field. My syntax in the ControlSource of the textbox at that point was:
=Concatenate([Description])
I have a feeling that I'm just missing a pointer somewhere, as in I need to more specifically specify a path to the field, but nothing I've tried works. Any help is much appreciated. Thanks.