Hi there
I'm trying to construct something very similar to the conditional i made below:
It's basically saying if the field says "all" then bring up everyone who doesn't have £0.00 in that field, else do some other stuff.
I want it to bring up everyone apart from people who owe money, so if it says £0.00 i want it omitted, and also if there is no value in there, i want it omitted - so:
if field = "all" then
bring up everyone who doesn't have £0.00 OR null
else, do some other stuff
actually, can i just use nul??
Sorry for making a meal of this, hope someone can decipher what i'm trying to ask!
I'm trying to construct something very similar to the conditional i made below:
Code:
If Me![SrchForDebt] = "all" Then
where = where & " AND [Expr1] NOT like '" + "£0.00" + "'"
Else
If Left(Me![SrchForDebt], 1) = "*" Or Right(Me![SrchForDebt], 1) = "*" Then
where = where & " AND [Expr1] like '" + Me![SrchForDebt] + "'"
Else
where = where & " AND [Expr1]= '" + Me![SrchForDebt] + "'"
End If
End If
It's basically saying if the field says "all" then bring up everyone who doesn't have £0.00 in that field, else do some other stuff.
I want it to bring up everyone apart from people who owe money, so if it says £0.00 i want it omitted, and also if there is no value in there, i want it omitted - so:
if field = "all" then
bring up everyone who doesn't have £0.00 OR null
else, do some other stuff
actually, can i just use nul??
Sorry for making a meal of this, hope someone can decipher what i'm trying to ask!