mask >> "maschera"
Okay, maybe don't need to review frontend
My final word is to use a form as SourceObject and set its RecordSource property then you will have form events available for code behind subform.
Assuming radio buttons are members of OptionGroup, consider:
Code:
strCelta = Choose(Me.Opt, "AA", "BB", "BE", "DA", "DB", "IA", "IB", "IC", "ID", "IE", "IF", _
"RA", "RB", "RC", "RD", "RE", "RF", "VC", "VD", "VE", "VF", "VG", "VH", "VU")
Me.SM_SlittamentiSospetti.Form.RecordSource = "Query.QSlittamentiSospetti_in" & strCelta
Me.lblTitolo.Caption = "RICERCA SLITTAMENTI SOSPETTI NELLA TABELLA " & strCelta
Also, consider alternative instead of hard-coding values with SELECT CASE or Choose(), have a table with the 2-letter values and use DLookup():
strCelta = DLookup("Celta", "tblCelta", "ID=" & Me.Opt)
Could use a combobox instead of an OptionGroup (again, a table would be helpful). However, if you expect that this list of 2-letter codes will never (or rarely) change), OptionGroup is probably fine.