New beginner Access user

wiesem

New member
Local time
Today, 04:10
Joined
Jun 9, 2016
Messages
6
Hi, my name is Morne and I am a beginner access user. I live in Bloemfontein, located in South Africa.
 
Can anyone maybe help with below?
I have two columns name NRESULT and TRESULT. I want to add one or the other into a new field on a report. The idea is that if the NRESULT is null, then it should use the TRESULT, and the other way around. I created the follow formula: NTResult: IIf(IsNull([NRESULT]),[TRESULT],IIf(IsNull([TRESULT]),[NRESULT],[TRESULT])).
It works well, except if the TRESULT is empty, then it does not use the NRESULT, because of the formula above. It is possible to combined the following two formulas:
IIf(IsNull([NRESULT]),[TRESULT],[NRESULT])
IIf(IsNull([TRESULT]),[NRESULT],TRESULT])
 
NTResult: IIf(IsNull([TRESULT]),IIF(ISNULL([NRESULT]), NULL, [NRESULT]), [TRESULT])
 
i like your icon, the green thing...
 

Users who are viewing this thread

Back
Top Bottom