if your autonumberfield is called "alan"
in the form before insert property use this event procedure
[alan]=dmax("[alan]",me.recordsource)+1
Thats it , job done..
the form must be based on a table or query though, not a select sttement..
Search found 1 match
- Tue Apr 17, 2007 3:19 pm
- Forum: General
- Topic: #Deleted when entering new records.
- Replies: 2
- Views: 17586