Increase Field value by 1 on Open form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

then I'm trying to calculate the maximum value for a field and add 1 to it
and display this in a field on a form, when it is opened.
 
then I'm trying to calculate the maximum value for a field and add 1 to it
and display this in a field on a form, when it is opened.

=NZ(DMax("[fieldname]", "[tablename]")) + 1


John W. Vinson [MVP]
 
Thanks a bunch John. Works great

John W. Vinson said:
then I'm trying to calculate the maximum value for a field and add 1 to it
and display this in a field on a form, when it is opened.

=NZ(DMax("[fieldname]", "[tablename]")) + 1


John W. Vinson [MVP]
 
Back
Top