Hi friendly helper,
I am lost!
I have 1 'Result field' on a form called 'FC8'.
This formular works in Excel, but not in Access (too many IIF's I Guess?).
=IF(SUM(M6:M8)=0;0;IF(SUM(M7:M8)=0;H6;IF(SUM(M6:M7)=0;H8;IF(SUM(M6;M8)=0;H7;IF(M6=0;MAKS(H7:H8);IF(M7=0;MAKS(H6;H8);IF(M8=0;MAKS(H6:H7);MAKS(H6:H8))))))))
How would I write this in VBA Access, so that my 'Result Field' (FC8) equals the above 'Excel if' formular?
Thanks!
Daniel
(can't get back to you before monday).
I am lost!
I have 1 'Result field' on a form called 'FC8'.
This formular works in Excel, but not in Access (too many IIF's I Guess?).
=IF(SUM(M6:M8)=0;0;IF(SUM(M7:M8)=0;H6;IF(SUM(M6:M7)=0;H8;IF(SUM(M6;M8)=0;H7;IF(M6=0;MAKS(H7:H8);IF(M7=0;MAKS(H6;H8);IF(M8=0;MAKS(H6:H7);MAKS(H6:H8))))))))
How would I write this in VBA Access, so that my 'Result Field' (FC8) equals the above 'Excel if' formular?
Thanks!
Daniel
(can't get back to you before monday).