pooterpooter
Technical User
I have the folloiwng working code :
If IsNull(Me!Quantity) And Me!cartons = 0 And Me.Parent!Customerid <> 123
I want to add on the following condition, meaning that it will be valid only when the the button Command580 is not pressed :
And Is Not Null Me.Parent!Command580 Then
But my line does not succeeed, and i get an eror. Where is my fault?
If IsNull(Me!Quantity) And Me!cartons = 0 And Me.Parent!Customerid <> 123 And Is Not Null Me.Parent!Command580 Then