Hi all,
My report is an electronic version of a form that is partially a carbon copy, for Medication Reconcilliation before surgery.
Page 1 - Medications on Admission
Page 2 - Medications at Discharge
Both Pages are ALMOST the same, but different info is written about the meds. Page 2 is a subreport in one of the footers.
Main Report ("Page 1") Layout:
Page Headers - Patient info, Allergies subreport
Group Headers - Group is on casemain.casemain_id
Detail - shows list of medications, dose, frequency, etc
Group Footers - Allergies subrpt for "Page 2", "Page 2" subrpt
Page Footer
"Page 2" Subreport Layout
Group Headers - group if on casemain.casemain_id
Detail - shows list of medications, dose, frequency, etc
Group Footers
The two reports are almost the same really, the differences aren't data, but the boxes and spacing that is handwritten on the report from one page to the next. (so group headers and footers etc are esentially repeated in Page 2). There is only the one grouping (many headers)
The report prompts for the casemain_id, so only ever looks at one at a time.
The link for the subreport is casemain.casemain_id
(same field linked to same field, same table in both reports)
The sorting in the main report is
Group casemain.casemain_id
pathomemedslistwt.med_name ascending
the sorting for the subreport is
Group casemain.casemain_id
pathomemedslistwt.med_name ascending
Is there a way I should be doing a programatic sort on a parameter or something? I just used the sort expert.
The weird thing is the allergies subreports are sorted by the group and allergen name, and they sort fine. (used the sort expert, sort is on group casemain_id, then allergen).
Is it because the sort fields are the same for the main and subreport? I'm stumped.
Having them sort in the wrong order could be a patient risk if any notes get copied from one page to the next and they don't pay attention to the order of the medications.
Any suggestions?
My report is an electronic version of a form that is partially a carbon copy, for Medication Reconcilliation before surgery.
Page 1 - Medications on Admission
Page 2 - Medications at Discharge
Both Pages are ALMOST the same, but different info is written about the meds. Page 2 is a subreport in one of the footers.
Main Report ("Page 1") Layout:
Page Headers - Patient info, Allergies subreport
Group Headers - Group is on casemain.casemain_id
Detail - shows list of medications, dose, frequency, etc
Group Footers - Allergies subrpt for "Page 2", "Page 2" subrpt
Page Footer
"Page 2" Subreport Layout
Group Headers - group if on casemain.casemain_id
Detail - shows list of medications, dose, frequency, etc
Group Footers
The two reports are almost the same really, the differences aren't data, but the boxes and spacing that is handwritten on the report from one page to the next. (so group headers and footers etc are esentially repeated in Page 2). There is only the one grouping (many headers)
The report prompts for the casemain_id, so only ever looks at one at a time.
The link for the subreport is casemain.casemain_id
(same field linked to same field, same table in both reports)
The sorting in the main report is
Group casemain.casemain_id
pathomemedslistwt.med_name ascending
the sorting for the subreport is
Group casemain.casemain_id
pathomemedslistwt.med_name ascending
Is there a way I should be doing a programatic sort on a parameter or something? I just used the sort expert.
The weird thing is the allergies subreports are sorted by the group and allergen name, and they sort fine. (used the sort expert, sort is on group casemain_id, then allergen).
Is it because the sort fields are the same for the main and subreport? I'm stumped.
Having them sort in the wrong order could be a patient risk if any notes get copied from one page to the next and they don't pay attention to the order of the medications.
Any suggestions?