T
Tony Williams
I have a control on a form called ABCDNbr. The makeup of the control is
ABCD/Cnbr/Year and the format is "ABCD"/000/0000;0;_
Where "ABCD" is static Cnbr is a hidden control based on a field of my table
where the default value is
=Nz(DMax("[Cnbr]","Offence"),0)+1
and year is the 4 digit year of a control CInputDate which is the date of
the new record input whose default value is Date()
How do I get the value of ABCDNbr to be automatically created as say
ABCD0092007 where 009 is the next value of Cnbr and 2007 is the year of
input.
Thanks
Tony
ABCD/Cnbr/Year and the format is "ABCD"/000/0000;0;_
Where "ABCD" is static Cnbr is a hidden control based on a field of my table
where the default value is
=Nz(DMax("[Cnbr]","Offence"),0)+1
and year is the 4 digit year of a control CInputDate which is the date of
the new record input whose default value is Date()
How do I get the value of ABCDNbr to be automatically created as say
ABCD0092007 where 009 is the next value of Cnbr and 2007 is the year of
input.
Thanks
Tony