Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate multiple records from subreport to text box

Status
Not open for further replies.

dbar10

Programmer
Dec 5, 2008
196
US
I am building a report for clinical info on client. I have a subreport that has the records of multiple medications, dosages,frequency and routes. I need these results to print in a text string format in one box on the main report called [HCFA 485]. I can't get my head around this. I wrote the line below to show the fields I'm dealing with and this will show the first record but I need all of them.

=[POCMed Table Query subreport].Report!Meds & ", " & [POCMed Table Query subreport].Report!Dose & ", " & [POCMed Table Query subreport].Report!Frequency & ", " & [POCMed Table Query subreport].Report!Route

Occasionally, one record may wrap to a new line in the box and I need the next record to start a new line in the same box. I hope that you can help. Thanks
 
It isn't clear what you want. A wag is that you want to list information from multiple child records into a single text box on your main report. Try faq701-4233.

Duane
Hook'D on Access
MS Access MVP
 
Thanks dhookom. I will work with this. Appreciate your work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top