Seems kinda complex to me.
Could try:
Each control has a TAG property.
The controls for development can have "Dev" in the TAG property.
The controls for production can have "Prod" in the TAG property.
When the admin form opens, code can run to look at the button on frm_Main to determine which controls should be visible. The code would then set the visible property of each control.
Loop through the controls collection, checking the TAG property.
'Air code!!!
Code:
.
.
.
Select Case ControlTag 'ie the TAG property
Case "Dev"
' set visible to TRUE
Case "Prod"
' Set visible to True
Case Else
'Who cares
End Select
.
.
.