K
kelly d via AccessMonster.com
I have a report I'm trying to automate that used to be created by a person
manually in Word, a very un-assuming layout but proving to be harder than it
looks and this layout needs to be matched in an access report cuz it is being
insisted upon to me. instead of trying to explain the layout, i'm going to
attempt (at least somewhat) to recreate it here a-la-characters. if anybody
has had to do this before, tips and techniques on how you accomplished it
would be appreciated. the layout looks something like this:
___________________________
| type | code | comment |
---------------------------
| type1 | code1 | comment1 |
| | code2 | comment2 |
---------------------------
| type2 | code1 | comment1 |
| | code2 | comment2 |
| | code3 | comment3 |
---------------------------
| type3 | code1 | comment1 |
---------------------------
| type4 | code1 | comment1 |
| | code2 | comment2 |
---------------------------
etc, etc thru the whole report where each type,code,comment is one record in
the recordset, thus comprising the entire detail section, and the field that
the report is grouped on, [type], is to appear once in each group, and is to
appear in-line with the first record of that group and then to have a box
around not each detail, but rather, each group of details. I have considered,
rather than a report, a function that opens a recordset filtered on the same
field that the report would have been grouped on, [type], cycling thru the
records in that recordset adding them to a variable separated by a VbCrLf so
that they go vertical in the variable, then sending the variables thru
automation to Excel and cycle thru each different [type] value in the table
then using automation to turn the Excel borders on around each cell (which
would be like a box around each group cuz each cell would contain all of the
records for that group)
but I really wanted this to be kept within the application using a report.
Any insight on how I might pull this off would be appreciated cuz this ones
eluding me.
thanks.
manually in Word, a very un-assuming layout but proving to be harder than it
looks and this layout needs to be matched in an access report cuz it is being
insisted upon to me. instead of trying to explain the layout, i'm going to
attempt (at least somewhat) to recreate it here a-la-characters. if anybody
has had to do this before, tips and techniques on how you accomplished it
would be appreciated. the layout looks something like this:
___________________________
| type | code | comment |
---------------------------
| type1 | code1 | comment1 |
| | code2 | comment2 |
---------------------------
| type2 | code1 | comment1 |
| | code2 | comment2 |
| | code3 | comment3 |
---------------------------
| type3 | code1 | comment1 |
---------------------------
| type4 | code1 | comment1 |
| | code2 | comment2 |
---------------------------
etc, etc thru the whole report where each type,code,comment is one record in
the recordset, thus comprising the entire detail section, and the field that
the report is grouped on, [type], is to appear once in each group, and is to
appear in-line with the first record of that group and then to have a box
around not each detail, but rather, each group of details. I have considered,
rather than a report, a function that opens a recordset filtered on the same
field that the report would have been grouped on, [type], cycling thru the
records in that recordset adding them to a variable separated by a VbCrLf so
that they go vertical in the variable, then sending the variables thru
automation to Excel and cycle thru each different [type] value in the table
then using automation to turn the Excel borders on around each cell (which
would be like a box around each group cuz each cell would contain all of the
records for that group)
but I really wanted this to be kept within the application using a report.
Any insight on how I might pull this off would be appreciated cuz this ones
eluding me.
thanks.