hi
Could someone please help.
this is an access query with IIF's statements , as you can see I have translated to CASE WHEN
but am having trouble translating the WHERE part of this clause .Thanks
	
	
	
		
 Could someone please help.
this is an access query with IIF's statements , as you can see I have translated to CASE WHEN
but am having trouble translating the WHERE part of this clause .Thanks
		Code:
	
	
	SELECT
Capability_Q.IDQ,
Capability_Q.Capability,
Capability_Q.OtherDesc,
--IIf([CapNow]="0",Null,[CapNow]) AS CpNow,
CASE
    WHEN [CapFuture]='0' THEN NULL ELSE [CapNow]
    END
    AS CpNow,
--IIf([CapFuture]="0",Null,[CapFuture]) AS CpFuture,
CASE
    WHEN [CapFuture]='0' THEN NULL ELSE [CapFuture]
END
 AS CpFuture
INTO UpldCapability
FROM Capability_Q
WHERE
(((Capability_Q.IDQ) Is Not Null)
AND ((IIf([CapNow]="0",Null,[CapNow])) Is Not Null)
AND ((IIf([CapFuture]="0",Null,[CapFuture])) Is Not Null));
 could someone please help 
	 
 
		
 
 
		 
 
		