I am trying to create a query where tblfees2!fees_a llowed does not match tblfees.fees_al lowed. why the following is not working? I am not getting any result. I should get 2 records. because in my tblfees2 table there are two records one with null and other one has "S".
Code:
SELECT [tblFees].Acct_Num, [tblFees].Fees_Allowed, [tblFees2_on_Release].Fees_Allowed FROM [tblFees] LEFT JOIN [tblFees2_on_Release] ON [tblFees].Acct_Num = [tblFees2_on_Release].Acct_Num WHERE [tblFees2_on_Release].[Fees_Allowed]<>[tblFees]![Fees_Allowed] OR [tblFees2_on_Release].[Fees_Allowed] Not Like [tblFees]![Fees_Allowed]
Comment