G
Guest
I use DMax("ReceiptNo", "ReceiptsTable")+1 to sequentually number receipt
input, to save the user from the need to input each receipt No.
When however a new receipt book series begins again from '1', the above DMax
continues to input the last highest receipt No.
I need the user to be able to over-ride the DMax auto number, and then for
DMax to continue on using that latest input number as its base.
I've tried using 'DLast' but that appears to be the same as 'DMax'. Perhaps
I should be using the 'Criteria' argument, but can't fathom how to do that.
Any help will be appreciated
input, to save the user from the need to input each receipt No.
When however a new receipt book series begins again from '1', the above DMax
continues to input the last highest receipt No.
I need the user to be able to over-ride the DMax auto number, and then for
DMax to continue on using that latest input number as its base.
I've tried using 'DLast' but that appears to be the same as 'DMax'. Perhaps
I should be using the 'Criteria' argument, but can't fathom how to do that.
Any help will be appreciated