Hello All,
I have the following query criteria and for some reason it will not work. It only brings up the records that have a value of "0"
Hello All,
I have the following query criteria and for some reason it will not work. It only brings up the records that have a value of "0"
And the criteria is???I have the following query criteria
Sorry, I posted before I got a change to paste it in.
Code:Between IIf(IsNull([forms]![reports].[Amount_Claimed_Before_Tax_Start]),"0",[Forms]![Reports].[Amount_Claimed_Before_Tax_Start]) And IIf(IsNull([Forms]![Reports].[Amount_Claimed_Before_Tax_End]),"10000000",[Forms]![Reports].[Amount_Claimed_Before_tax_End])
Try
Between Nz([forms]![reports].[Amount_Claimed_Before_Tax_Start]),"0") And Nz([Forms]![Reports].[Amount_Claimed_Before_Tax_End]),"10000000")
My gut feeling is that you don't want quotes around the numbers though.
think you've got a couple of extra brackets there Paul
Between Nz([forms]![reports].[Amount_Claimed_Before_Tax_Start]),"0") And Nz([Forms]![Reports].[Amount_Claimed_Before_Tax_End]),"10000000")
don't think you need the ones in red
And I agree about not needing the quotes around the numbers
Oops, you are correct. Lack of diligence during cut/paste operations.![]()
I do it all the time! Think you picked up one of mine the other day