Report grouping selection by form

G

Guest

How can you create a report where you let the user select the Field/s on
which the report will be grouped on via a Form?

I tried creating a number of Iif statements on the sorting and grouping
properties on the report which dlookups into a form, but the field for
putting statements in the sorting and grouping properties does not have
enough field space for the length of my statement due to the number of field
options that I have.
 
G

Guest

I just recently figured this one out. I have a report that may have from 1
to 6 subtotals (grouping). I put a check box on my form for each subtotal
available. Then, it the Format event for each group header :
Private Sub grpBillNetworkHeader_Format(Cancel As Integer, FormatCount As
Integer)
Me.grpBillNetworkHeader.Visible = Forms!frmbporeports!chkBillNetwork
Me.grpBillNetworkFooter.Visible = Forms!frmbporeports!chkBillNetwork
End Sub
 

Ask a Question

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.

Ask a Question

Top