Hello All,
I have a field called [Product ID]. I am getting this #Error in the field until the event is triggered. The event is this:
Is there anyway I can hide or get ride of this? I tried "If IsError" and others and it is still showing up.
Any Ideas?
I have a field called [Product ID]. I am getting this #Error in the field until the event is triggered. The event is this:
Code:
Private Sub Form_BeforeInsert(Cancel As Integer)
Me.[Product ID] = Nz(DMax("[product ID]", "product"), 1000) + 1
End Sub
Is there anyway I can hide or get ride of this? I tried "If IsError" and others and it is still showing up.
Any Ideas?