SharonInGeorgia
asked on
Access - remove focus off of option box
My option group has four values. Value 2 opens a report. Upon closing the report, the user returns to the option group where value 2 is still selected. Using VBA, Is there a way to deselect value 2 so that the user can look at the report again without having to select another option button?
If grpRegion.Value = 1 Then
DoCmd.OpenForm "frmForecastREGION", acNormal, "qryForecast", "Region = 'ECE'"
ElseIf grpRegion.Value = 2 Then
DoCmd.OpenReport "rptMoMgtLv5ALL", acViewPreview, "5-2MGTLv5ALL", "Region = 'ECE'"
If grpRegion.Value = 1 Then
DoCmd.OpenForm "frmForecastREGION", acNormal, "qryForecast", "Region = 'ECE'"
ElseIf grpRegion.Value = 2 Then
DoCmd.OpenReport "rptMoMgtLv5ALL", acViewPreview, "5-2MGTLv5ALL", "Region = 'ECE'"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.