P
Pamela
I appologize in advance. I hale from the days of procedural programming &
took a shameful hiatus from '89-99. Anyway, I'm trying to get back into the
loop & here is my question:
I am creating an audit trail of records entered into a databse. I have the
audit trail working fine for users who attempt to add a new record. However,
if they click on clear, I want to be able to remove the latest record added
to the audit table. The unique identifier is the "record number".
I'm ashamed to ask this, but how, in VBA code, do you say something like this:
If [undo clicked] then
goto [delete last rec funct]
I know the If [undo clicked] part, but it's the telling it to delete the last
record part that I'm not clear on. All I want to do is delete the last rec
based on the RecNum.
Sorry for my pigeon BASIC. I think I'm just not seeing the forest through
the trees...
took a shameful hiatus from '89-99. Anyway, I'm trying to get back into the
loop & here is my question:
I am creating an audit trail of records entered into a databse. I have the
audit trail working fine for users who attempt to add a new record. However,
if they click on clear, I want to be able to remove the latest record added
to the audit table. The unique identifier is the "record number".
I'm ashamed to ask this, but how, in VBA code, do you say something like this:
If [undo clicked] then
goto [delete last rec funct]
I know the If [undo clicked] part, but it's the telling it to delete the last
record part that I'm not clear on. All I want to do is delete the last rec
based on the RecNum.
Sorry for my pigeon BASIC. I think I'm just not seeing the forest through
the trees...