Bonjour,
Voila je dois etablir migrer un tableau de bussiness object a Visual studio, mais j'ai deux expression qui me pose probleme :
La premiere donc :
=IIF(Fields!Departement_unique_numero_1.Value=
"31"
AND ISNOTHING(Fields!Numero_unique_1.Value) ,Fields!Numero_unique_1.Value, IIF(Fields!Departement_unique_numero_2.Value="31"
AND ISNOTHING(fields!Numero_unique_2.Value),Fields!Numero_unique_2.Value, IIF(Fields!Departement_unique_numero_3.Value="31"
AND ISNOTHING(Fields!Numero_unique_3.Value),Fields!Numero_unique_3, IIF(Fields!Departement_unique_numero_4.Value="31"
AND ISNOTHING(Fields!Numero_unique_4.Value),Fields!Numero_unique_4.Value, IIF(Fields!Departement_unique_numero_5.Value="31"
AND ISNOTHING(Fields!Numero_unique_5.Value),Fields!Numero_unique_5.Value, IIF(Fields!Departement_unique_numero_6.Value="31"
AND ISNOTHING(Fields!Numero_unique_6.Value),Fields!Numero_unique_6.Value, IIF(Fields!Departement_unique_numero_7.Value="31"
AND ISNOTHING(Fields!Numero_unique_7.Value),Fields!Numero_unique_7.Value,"")))))))
Je vous transmet la traduction de BO :
=Si <Département numéro unique 1> = "31 " Et <Numéro unique 1> <> "
" Alors <Numéro unique 1> Sinon Si <Département numéro unique 2> = "31 " Et <Numéro unique 2> <> "
" Alors <Numéro unique 2> Sinon Si <Département numéro unique 3> = "31 " Et <Numéro unique 3> <> "
" Alors <Numéro unique 3> Sinon Si <Département numéro unique 4> = "31 " Et <Numéro unique 4> <> "
" Alors <Numéro unique 4> Sinon Si <Département numéro unique 5> = "31 " Et <Numéro unique 5> <> "
" Alors <Numéro unique 5> Sinon Si <Département numéro unique 6> = "31 " Et <Numéro unique 6> <> "
" Alors <Numéro unique 6> Sinon Si <Département numéro unique 7> = "31 " Et <Numéro unique 7> <> "
" Alors <Numéro unique 7>
Et voici la deuxiéme :
=IIF(Fields!Code_type_UG_attribuee.Value =
"T1"
OR
"T1B","T1",
IIF(Fields!Code_type_UG_attribuee.Value = "T2","T2",
IIF(Fields!Code_type_UG_attribuee.Value = "T3","T3",
IIF(Fields!Code_type_UG_attribuee.Value = "T4","T4",
IIF(Fields!Code_type_UG_attribuee.Value = "T5","T5",
IIF(Fields!Code_type_UG_attribuee.Value = "T6"
OR
"T7"
OR
"T8","T6",""))))))
Je vous traduis sur BO :
= Si <Code type UG attribuée> DansListe ("T1 " , "T1B") Alors "T1" Sinon Si <Code type UG attribuée> = "T2 " Alors "T2" Sinon Si <Code type UG attribuée> = "T3 " Alors "T3" Sinon
Si <Code type UG attribuée> = "T4 " Alors "T4" Sinon Si <Code type UG attribuée> = "T5 " Alors "T5" Sinon Si <Code type UG attribuée> DansListe ("T6 " , "T7 " , "T8 ") Alors "T6"
Voila... Le probleme est que ses deux expression ne veulent pas s'afficher dans la partie conception ou me disent erreurs, je n'arrive pas a trouver d'ou sa vient...
S'il vous plait aidez moi merci ...
Cordialement...