T
Tom
With a New Record how do I return an InvoiceNumber that is one higher than
the maximum number already used in the table?
Win XP, Office XP
Table name is LoadDetails and Field is InvoiceNumber
I currently make the InvoiceNumber default value to equal the last entry
plus 1 through a control click event which works as long as all the records
are put in in one sitting or the user remembers to go to the last record
before creating a NewRecord BUT that is not good code. The user has proven
that to me twice in one month.
I'm pretty sure that Max is the function to use but am not sure how to use
it in the code Help is appreciated.
Tom T
the maximum number already used in the table?
Win XP, Office XP
Table name is LoadDetails and Field is InvoiceNumber
I currently make the InvoiceNumber default value to equal the last entry
plus 1 through a control click event which works as long as all the records
are put in in one sitting or the user remembers to go to the last record
before creating a NewRecord BUT that is not good code. The user has proven
that to me twice in one month.
I'm pretty sure that Max is the function to use but am not sure how to use
it in the code Help is appreciated.
Tom T