Bonjour, Puis-je simplifier mon If imbriqué ? Merci
Forall xFieldname In oForm.Fields
If Cstr(xFieldname) = "fldExec1" then
If CStr(xFieldname) = "fldExec2" then
If CStr(xFieldname) = "fldExec3" Then
If CStr(xFieldname) = "fldExec4" Then
If CStr(xFieldname) = "fldExec5" Then
If CStr(xFieldname) = "fldExec6" Then
If CStr(xFieldname) = "fldExec7" Then
cont = 1
End If
End If
End If
End If
End If
End If
End If
End ForAll