Hi,
I have a form where a user can delete a record from an Items table. On the table is a field for sequence number. Let's say there are 3 of the same item (seqno 1, 2, and 3), and sequence number 2 is deleted. That leaves me (incorrectly) with seqno 1 and seqno 3 on the table. I'd like to change seq no 3 to seq no 2 (and if any more existed, modify them as well).
Does anyone have suggestions on how I can code, at the time the record is deleted, to modify the remaining seqno records?
I am just getting comfortable with VBA, and could probably (eventually!) figure it out on my own, but it would be really great to have suggestions to help me along.
In case you want more information about the table, it contains all Items for a given room number. If the room has multiple occurrences of the same item number (ie, specific bed), the seq no identifies which one.
Thanks,
Lori
I have a form where a user can delete a record from an Items table. On the table is a field for sequence number. Let's say there are 3 of the same item (seqno 1, 2, and 3), and sequence number 2 is deleted. That leaves me (incorrectly) with seqno 1 and seqno 3 on the table. I'd like to change seq no 3 to seq no 2 (and if any more existed, modify them as well).
Does anyone have suggestions on how I can code, at the time the record is deleted, to modify the remaining seqno records?
I am just getting comfortable with VBA, and could probably (eventually!) figure it out on my own, but it would be really great to have suggestions to help me along.
In case you want more information about the table, it contains all Items for a given room number. If the room has multiple occurrences of the same item number (ie, specific bed), the seq no identifies which one.
Thanks,
Lori