?
Solved

Reports - GroupLevel (ACC97)

Posted on 2002-05-16
6
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:jacy_m
ID: 7015355
In run mode using vb i mean
0
 

Expert Comment

by:DrH
ID: 7015525
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
ID: 7015529
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 7

Expert Comment

by:Jonathan Kelly
ID: 7015715
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
ID: 7016058
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
ID: 7016244
jacy_m

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

752 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