Solved

Reports - GroupLevel (ACC97)

Posted on 2002-05-16
6
219 Views
Last Modified: 2012-06-27
Hi,
I have a report that has 2 GroupLevels defined in design mode.
In the help I see that I can edit these group levels or add more using CreateGroupLevel, but how can I remove a group level?
thanks
0
Comment
Question by:jacy_m
6 Comments
 

Author Comment

by:jacy_m
Comment Utility
In run mode using vb i mean
0
 

Expert Comment

by:DrH
Comment Utility
Show the Sorting and Grouping box from the view menu
Highlight the row of the group you wish to remove by Left Clicking to the left of the field name
Make certain that Num Lock is off and press the DEL key
Confirm deletion
0
 

Author Comment

by:jacy_m
Comment Utility
I need to do this in VB code, during run time

I have figured out a way to (sort of) remove the 2nd grouping level now myself... this is to set the ControlSource of GroupLevel1 to be the same as the ControlSource of GroupLevel0 and then hide the header and footer of the second grouping level

I will try and get this question closed...
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 7

Expert Comment

by:Jonathan Kelly
Comment Utility
i got around this problem by using a report with no grouping levels - ReportSource.
at runtime i copy ReportSource,
paste it as ReportActual,
add grouping levels to ReportActual using CreateGroupLevel,
and load ReportActual as the report.

when the process begins again ReportActual is overwritten effectively removing the grouping levels.






0
 
LVL 15

Expert Comment

by:dbase118
Comment Utility
Are you specifically wanting to do this in code? I ask because in the Sorting and Grouping dialog box in report design veiw, you can click the grey square at the beginning of whichever line you want to delete and press delete once it highlights.
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
Comment Utility
jacy_m

points refunded and question moved to PAQ since you provided your own solution.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now