Hello All,
I thought that this would be simple but anyways.......I just need a default value of "New" in my [Product ID] field. I went to properties and tried to put in ="New" and I am getting an error.
The only thing I can think of is that I have a event procedure on that field that look like this
I know this is probably easy but I am missing it.
Any Ideas?
I thought that this would be simple but anyways.......I just need a default value of "New" in my [Product ID] field. I went to properties and tried to put in ="New" and I am getting an error.
The only thing I can think of is that I have a event procedure on that field that look like this
Code:
Private Sub Form_BeforeInsert(Cancel As Integer)
Me.[Product ID] = Nz(DMax("[product ID]", "product"), 1000) + 1
End Sub
I know this is probably easy but I am missing it.
Any Ideas?