G
Guest
Is there a way to query the last record of a table and compare it to the
current data entered in a form? What I was thinking was to use the before
update event to verify that the new entry won't be a duplicate of the last
one.
What I have is a table with 8 fields. I won't need to check against two of
the fields since one is calculated based on the date entered and the other is
a primary key.
Mytable: PK, office(text), refdate(date), prog(text), new(integer),
rpt(integer), wk(integer) (emp contains a comma between last and first name)
The logic is a snap but method has me stumped. Any help would be greatly
appreciated. (my apologies if this should be in the Forms coding group)
current data entered in a form? What I was thinking was to use the before
update event to verify that the new entry won't be a duplicate of the last
one.
What I have is a table with 8 fields. I won't need to check against two of
the fields since one is calculated based on the date entered and the other is
a primary key.
Mytable: PK, office(text), refdate(date), prog(text), new(integer),
rpt(integer), wk(integer) (emp contains a comma between last and first name)
The logic is a snap but method has me stumped. Any help would be greatly
appreciated. (my apologies if this should be in the Forms coding group)