Access - remove focus off of option box
Posted on 2007-11-14
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'"