I have two forms (Main Switchboard, ParamsForUpdate). The 1st form has a dropdown to pick a user id, and it has an option group with three buttons. based on which option the user chooses on the 1st form, buttons on the 2nd form are to be greyed out and locked.

The problem is that it's not working as I planned. How do I refer to the fields on the 2nd while I am on the 1st screen? Is that what is wrong here?

Code:
Private Sub CatToUpdate_optgroup_AfterUpdate()

Select Case Forms![ParamsForUpdate]!CatToUpdateFrame

    Case 1      ' lock and grey out sections 2 & 3
    
        ' Section 2
        Forms![ParamsForUpdate]!PartNumLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!PartNumText.Locked = True
        Forms![ParamsForUpdate]!DistChannel2Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel2Text.Locked = True
        ' Section 3
        Forms![ParamsForUpdate]!TargetAmtLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!TargetAmtText.Locked = True
        Forms![ParamsForUpdate]!DistChannel3Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel3Text.Locked = True
        Forms![ParamsForUpdate]!StockClass2_Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!StockClass2ListBox.Locked = True
        
    Case 2      ' lock and grey out sections 1 & 3
    
        ' Section 1
        Forms![ParamsForUpdate]!DaysOfSupplyLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!DaysOfSupplyText.Locked = True
        Forms![ParamsForUpdate]!PromoCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!PromoCodeText.Locked = True
        Forms![ParamsForUpdate]!StockClass1_Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!StockClass1ListBox.Locked = True
        Forms![ParamsForUpdate]!DistChannel1Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel1Text.Locked = True
        Forms![ParamsForUpdate]!DlrSuppCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!DlrSuppCodeText.Locked = True
        Forms![ParamsForUpdate]!AltDlrSuppCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!AltDlrSuppCodeText.Locked = True
        Forms![ParamsForUpdate]!MinNameLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!MinNameText.Locked = True
        ' Section 3
        Forms![ParamsForUpdate]!DistChannel3Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel3Text.Locked = True
        Forms![ParamsForUpdate]!StockClass2_Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!StockClass2ListBox.Locked = True
    
    Case 3      ' lock and grey out sections 1 & 2
        
        ' Section 1
        Forms![ParamsForUpdate]!DaysOfSupplyLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!DaysOfSupplyText.Locked = True
        Forms![ParamsForUpdate]!PromoCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!PromoCodeText.Locked = True
        Forms![ParamsForUpdate]!StockClass1_Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!StockClass1ListBox.Locked = True
        Forms![ParamsForUpdate]!DistChannel1Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel1Text.Locked = True
        Forms![ParamsForUpdate]!DlrSuppCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!DlrSuppCodeText.Locked = True
        Forms![ParamsForUpdate]!AltDlrSuppCodeLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!AltDlrSuppCodeText.Locked = True
        Forms![ParamsForUpdate]!MinNameLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!MinNameText.Locked = True
        ' Section 2
        Forms![ParamsForUpdate]!PartNumLabel.ForeColor = 9868950
        Forms![ParamsForUpdate]!PartNumText.Locked = True
        Forms![ParamsForUpdate]!DistChannel2Label.ForeColor = 9868950
        Forms![ParamsForUpdate]!DistChannel2Text.Locked = True
            
End Select

End Sub