G
Guest
I have created a database used to track error information. Within this
database I created a form that is used to enter Quality Control information;
such as any item that is QC'd or checked by another employee in order to
locate any errors that might exist.
Occasionally, more than one error is found on a particular item. For
simplicity, I created a duplicate record command button in order to copy the
current record to a new record for editing purposes. However, it is beyond
me why it is not working. It seemingly copies the record and takes you to
the new copy, but when you click on any field to edit the new copy, it
immediately takes you back to the original error, and any changes made are
made to the original error. Also, the copy disappears. A new record is
saved, but all the information that was supposedly copied has disappeared and
the new record is blank. I have compared the VBA code to the code on a
different database where the Duplicate Record button works, and I cannot find
any difference in the code. I tried a couple of other ways to copy a record
within a form but have been unsuccessful in my attempts. I created an append
query and tied it to a command button. That worked fine except I could not
figure out how to view the new copy (within the form) without closing and
reopening the form. I tried using a refresh button, but it didn’t work
either.
I am fairly new to Access, and this may be something simple that I just have
not thought of yet. Any help with getting the duplicate record button to
work will be greatly appreciated.
Tiffany
database I created a form that is used to enter Quality Control information;
such as any item that is QC'd or checked by another employee in order to
locate any errors that might exist.
Occasionally, more than one error is found on a particular item. For
simplicity, I created a duplicate record command button in order to copy the
current record to a new record for editing purposes. However, it is beyond
me why it is not working. It seemingly copies the record and takes you to
the new copy, but when you click on any field to edit the new copy, it
immediately takes you back to the original error, and any changes made are
made to the original error. Also, the copy disappears. A new record is
saved, but all the information that was supposedly copied has disappeared and
the new record is blank. I have compared the VBA code to the code on a
different database where the Duplicate Record button works, and I cannot find
any difference in the code. I tried a couple of other ways to copy a record
within a form but have been unsuccessful in my attempts. I created an append
query and tied it to a command button. That worked fine except I could not
figure out how to view the new copy (within the form) without closing and
reopening the form. I tried using a refresh button, but it didn’t work
either.
I am fairly new to Access, and this may be something simple that I just have
not thought of yet. Any help with getting the duplicate record button to
work will be greatly appreciated.
Tiffany