I wouldn't even entertain the idea that it was done for any reason other than your temporarily losing the plot in an inattentive moment. This happens to us all from time-to-time.
I would just offer an alternative for your first line. Some don't like using the Nz() function, but otherwise it's a more compact version.
I would just offer an alternative for your first line. Some don't like using the Nz() function, but otherwise it's a more compact version.
Code:
If Nz(Me.ProductIDFK, 0) = 0 Then
Comment