M
mattc66 via AccessMonster.com
I have the below DLookup. My hope is to change the backcolor if the available
is 0 or less available in the qryICStockOnHand_C1. It doesn't fail, but it
doesn't change the color. Can anyone see my error?
If DLookup("[Available]", "qryICStockOnHand_C1", "[Item] = '" & [Item] &
"'") <= 0 Then
Me.Item.BackColor = vbYellow
Else
Me.Item.BackColor = vbWhite
End If
is 0 or less available in the qryICStockOnHand_C1. It doesn't fail, but it
doesn't change the color. Can anyone see my error?
If DLookup("[Available]", "qryICStockOnHand_C1", "[Item] = '" & [Item] &
"'") <= 0 Then
Me.Item.BackColor = vbYellow
Else
Me.Item.BackColor = vbWhite
End If