G
Guest
In a table "tbl_Projects" I have two fields (amongst others) called Region
and SerialNo. I can use DMax to increment SerialNo by one when entering new
records
Me.SerialNo = DMax("[SerialNo]", "tbl_Projects", "SerialNo") + 1
but I cannot restrict the set of records DMax looks at to a particular region.
Any ideas?
and SerialNo. I can use DMax to increment SerialNo by one when entering new
records
Me.SerialNo = DMax("[SerialNo]", "tbl_Projects", "SerialNo") + 1
but I cannot restrict the set of records DMax looks at to a particular region.
Any ideas?