mdnuts
Registered User.
- Local time
- Yesterday, 21:33
- Joined
- May 28, 2014
- Messages
- 131
Here is the source query for my report.
qryFamiliesWEnhancements
I have my Access Report first grouping on Control Main with additional field of Title. By itself, this displays all Control_main fields and their corresponding Title field.
I then need to group all Enhancements under the Control_main. It should look like this.
I can get it to group like I want by secondly grouping on "Enhancement", however in the Access Report it will always show the first line for each Control_main with a blank value for Enhancement, it looks like this.
I tried setting the
I also tried the same variation with
Any ideas?
qryFamiliesWEnhancements
| Title | Impact | Control_main | Enhancement |
|---|---|---|---|
| Wireless Access | Low, Moderate, High | AC-18 | |
| Wireless Access | Authentication And Encryption | Moderate, High | AC-18 | (1) |
| Access Control For Mobile Devices | Low, Moderate, High | AC-19 | |
| Access Control For Mobile Devices | Full Device/ Container-based Encryption | Moderate, High | AC-19 | (5) |
| Use Of External Information Systems | Low, Moderate, High | AC-20 | |
| Use Of External Information Systems | Limits On Authorized Use | Moderate, High | AC-20 | (1) |
| Use Of External Information Systems | Portable Storage Devices | Moderate, High | AC-20 | (2) |
| Information Sharing | Moderate, High | AC-21 | |
| Publicly Accessible Content | Low, Moderate, High | AC-22 |
I have my Access Report first grouping on Control Main with additional field of Title. By itself, this displays all Control_main fields and their corresponding Title field.
I then need to group all Enhancements under the Control_main. It should look like this.
| AC-18 | Wireless Access | |
| Enhancements | ||
| (1) | Wireless Access | Authentication and Encryption | |
| AC-19 | Access Control for Mobile Devices | |
| AC-20 | Use of External Information Systems | |
| Enhancements | ||
| (1) | Use of External Information Systems | Limits on Authorized Use | |
| (2) | Use of External Information Systems | Portable Storage |
I can get it to group like I want by secondly grouping on "Enhancement", however in the Access Report it will always show the first line for each Control_main with a blank value for Enhancement, it looks like this.
| AC-18 | Wireless Access | ||
| Enhancements | |||
| Wireless Access | |||
| (1) | Wireless Access | Authentication and Encryption | ||
| AC-19 | Access Control for Mobile Devices | ||
| Enhancements | |||
| Access Control for Mobile Devices | |||
| AC-20 | Use of External Information Systems | ||
| Enhancements | |||
| Use of External Information Systems | |||
| (1) | Use of External Information Systems | Limits on Authorized Use | ||
| (2) | Use of External Information Systems | Portable Storage |
I tried setting the
On Format for GroupHeader3 with
Code:
If Me.Enhancement = "" Then
Me.Enhancement.Visible = False
Me.Text9.Visible = False
Else
Me.Enhancement.Visible = False
Me.Text9.Visible = False
End If
I also tried the same variation with
if IsNull(Me.Enhancement) Then but none of those work.Any ideas?
Last edited: