G
Guest
I have an application where I'm tracking check information. The first field
in the form is the check number. Most of the time the number will be the
previous entry plus 1 so I want to have the default value for this field be
whatever the last check number was plus 1. In the default entry for this
field I have:
=DLast("[Check Number]","TblChecks")+1
This has been working fine for months but all of a sudden I am getting a
number that corresponds to a previously entered check. I have tried doing a
repair and compact on the database to no avail.
If I go to the "immediate" field for Visual Basic and run the DLast command
it really does return a record that was NOT the last record added to the
table.
Can anyone help me?
Will
in the form is the check number. Most of the time the number will be the
previous entry plus 1 so I want to have the default value for this field be
whatever the last check number was plus 1. In the default entry for this
field I have:
=DLast("[Check Number]","TblChecks")+1
This has been working fine for months but all of a sudden I am getting a
number that corresponds to a previously entered check. I have tried doing a
repair and compact on the database to no avail.
If I go to the "immediate" field for Visual Basic and run the DLast command
it really does return a record that was NOT the last record added to the
table.
Can anyone help me?
Will