J
Justin
Is there a way to group and sort using vba instead of the "graphical" way?
Justin said:Is there a way to group and sort using vba instead of the "graphical" way?
Justin said:Is there a way to group and sort using vba instead of the "graphical" way?
Justin said:Ok. that doesn't seem to difficult but to the second part of my question is
there a way to get a "comments" section in one and only one column of the
report?
Justin said:This is the second question:
'Then I have the report in columns in Page Setup. What I need to do is get a
section for "comments" in one of the columns. I don't want this section in
each column. I have no idea how to do that with out adding a "comment"
section after each element because it is in the detail section of the report.
So how could I accomplish this?
And did any of that make any sense?"
Not sure if anybody is going to understand this or be able to help. I may
have to do some more experimenting.
Justin said:Here is what the report contains:
A StuID Header(groups by stuid)
A Category Header(groups by category)
A Group Header(groups by group)
The default detail section(contains the element field)
Each category has many groups and a groups has many elements.
ex.
Category
- Special Subjects
Group
-Art
Element
-Exhibits appropriate behavior
-Applies art skills and demonstrates understanding of
basic concepts
-Library Education
Element
-Exhibits appropriate behavior
-Uses the library effectively
I think that will give you the idea.
The report when viewed looks like this
ex.
Special subjects Quarter
Art 1
2 3 4
Exhibits appropriate behavior A A B C
Applies art skills and demonstrates understanding of basic concepts
Library Education 1 2 3
4
Exhibits appropriate behavior A A B C
Uses the library effectively A A B C
And this will do this for every category.
The page is setup for landscape and has three columns per page.
Now what i need to do next is to add a "comments" section to the end of one
of the columns. I don't know where/how to do that and if i even can.
Is there any way to send you a copy of the database so that you can see
exactly what is going on?
Justin said:Ok. How do you do a Group Footer? I now there is page footer and report
footer. I think that option will be my best bet.
Marshall Barton said:Not quite, but you can make the section invisible or just
Cancel the section's Format event. Maybe something like:
Cancel = (groupingfield <> "Art")
BTW, "Group" is a really bad name for a field in a table,
It's an SQL reserved work and can seriously mess qith your
queries.
--
Marsh
MVP [MS Access]
Ok. Is there a way to do an "if" statement that says at the end of this group
put a footer. That way I could tell it what group to put the comment section
under. Does that make sense?
Marshall Barton said:Since you are trying to show/suppress a group footer, the
line of code should be in the group footer's Format event
procedure.
FYI, the open event is only used to configure the report
(e.g. set its record source) before the report is processed.
All data related actions need to be done in a section's
Format or Print events.
--
Marsh
MVP [MS Access]
Ok, I put that statement in the report_open and now it doesn't even open the
report.
What did i do wrong?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.