georgesOne
Technical User
Hi,
I will be writing lots of queries which typically will include expressions like
....& IIF(Len(A.MonoName2)<>0, "/" & A.MonoName2 & "(" & Format(Weight2,"#0.00") & "g)","") &....
i.e. if A.MonoName2 is null then a nullstring should appear, otherwise the expression '/XXXX(55.55g)'.
Is there any effective way to make this shorter?
Thanks, georges
I will be writing lots of queries which typically will include expressions like
....& IIF(Len(A.MonoName2)<>0, "/" & A.MonoName2 & "(" & Format(Weight2,"#0.00") & "g)","") &....
i.e. if A.MonoName2 is null then a nullstring should appear, otherwise the expression '/XXXX(55.55g)'.
Is there any effective way to make this shorter?
Thanks, georges