Cliff,
Say you have a TblCustomer table with a CustomerNum field. You have a
FrmCustomer based on TblCustomer and the form has a textbox bound to the
CustomerNum field. Put this expression in the Default Value property(Data tab)
of the textbox:
DMax("[CustomerNum]","TblCustomer")+1
When you enter something in any field in the form and save the record,
CustomerNum will automatically have the next sequential number.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
"cliff williams" <cw*******@multipak.com> wrote in message
news:78**************************@posting.google.c om...
how can I set a form so that when i open it , it appears with the next
sequential number. I want to set the number pattern and not use
autonumber