Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Reports - GroupLevel (ACC97)

Posted on 2002-05-16
6
Medium Priority
?
238 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
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

810 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