K
kcrad
I am running a query that returns the last entry in a table. I am using the
"Last" function in the Totals row. The query result is used in a form
control to set the last value entered as the default for the field. The form
is used by multiple users on several different machines.
My problem is this: Once in a while the LastOf query gets stuck on one
record and ignores anything else that is entered in the table. If I delete
that record, the query returns the value in the field previous to the deleted
one. It's like the query doesn't see anything in the table after the value
that it gets stuck on. I have fixed the problem once by deleting everything
in the table and then copying it back in(essentially I just gave each record
a new autonumber).
I'm sure that something is triggering this event, but I don't know what it
could be. Has anyone seen this before? Is there a better way that I should
set up a default value formy control?
Thanks
kcrad
"Last" function in the Totals row. The query result is used in a form
control to set the last value entered as the default for the field. The form
is used by multiple users on several different machines.
My problem is this: Once in a while the LastOf query gets stuck on one
record and ignores anything else that is entered in the table. If I delete
that record, the query returns the value in the field previous to the deleted
one. It's like the query doesn't see anything in the table after the value
that it gets stuck on. I have fixed the problem once by deleting everything
in the table and then copying it back in(essentially I just gave each record
a new autonumber).
I'm sure that something is triggering this event, but I don't know what it
could be. Has anyone seen this before? Is there a better way that I should
set up a default value formy control?
Thanks
kcrad