G
Guest
I have a field comprised of serial nos. For those rare equipment items that
do not have a serial number, they are assigned the following artificial
serial number: NoSerial#. I would like there to be an unbound object that
displays the last artificial serial number assigned so that the user knows
what the next sequential number is. I figure the simplest way to do this is
by using the DMax function in the control source of the text object.
If I do the code below, it works fine and returns the value "NoSerial1"
But how do I write it so the it returns the max value of the criteria LIKE
"NoSerial*", or can I?
=DMax("[SerialNo]","tblEquipment","[SerialNo] = 'NoSerial1' ")
Thanks,
AG
do not have a serial number, they are assigned the following artificial
serial number: NoSerial#. I would like there to be an unbound object that
displays the last artificial serial number assigned so that the user knows
what the next sequential number is. I figure the simplest way to do this is
by using the DMax function in the control source of the text object.
If I do the code below, it works fine and returns the value "NoSerial1"
But how do I write it so the it returns the max value of the criteria LIKE
"NoSerial*", or can I?
=DMax("[SerialNo]","tblEquipment","[SerialNo] = 'NoSerial1' ")
Thanks,
AG