Hi Dell,
I have completed what you have advised:
1. in the subreport I have got two tables which show me:
code Head (location description)
1 xyz
2 xxx
3 abc
...
...
the codes and description have all I need
2. I created same parameter - locations with the pickup list in the subreport
3. I constructed the formula as advised:
@get_loc_desc
Shared StringVar descripts;
If "ALL" in {?location} then descripts := "All Locations"
else
If OnFirstRecord then
descripts := {HEADING.HEAD}
else descripts := descripts + ", " + {HEADING.HEAD};
descripts
4. constructed another formula
@display_loc_desc
Shared StringVar descripts
5. Insert the subreport into the main report - report headB section
6. change subreport link - > same parameters as Main report
7. when running, the subreport does not display the locations I selected from location prompts, instead it displays the first, the second, etc., in the list of @display_loc_desc ( when I double checked in the subreport alone, if I de-suprress the detail section, and pull the code and head(location description) fields into the detail section - there are the same locations displaying when running the main report along with the subreport.
Any idea, something I missed out?
Thanks in advance.
John