G
Guest
Hi
I posted this a couple of days back. I would really appreciate some help
with this.
I have a form, frmClientDataEntry, containing basic details of a client.
When the user clicks a button they can edit these details. One of the
controls has the underlying table field set to no duplicates and I would
therefore like to have some code which will presumably go in the before
update event of the control so that the user sees a message box after the
application finds a duplicate saying "Duplicate entry. View record?" with
Yes and No buttons where clicking Yes takes the user to that record and the
entry in the control is reset to the original entry.
I am fairly new to VBA but keen to learn more.
Any help is appreciated
Thanks
Chris
I posted this a couple of days back. I would really appreciate some help
with this.
I have a form, frmClientDataEntry, containing basic details of a client.
When the user clicks a button they can edit these details. One of the
controls has the underlying table field set to no duplicates and I would
therefore like to have some code which will presumably go in the before
update event of the control so that the user sees a message box after the
application finds a duplicate saying "Duplicate entry. View record?" with
Yes and No buttons where clicking Yes takes the user to that record and the
entry in the control is reset to the original entry.
I am fairly new to VBA but keen to learn more.
Any help is appreciated
Thanks
Chris