N
n.repole
The form I've created will be sent along a chain of people, and each
time someone recieves the form they will resubmit it to a database.
The form will have a reference ID which is unique and stored in the
database. The issue I'm having is that when the form is submitted
after the first time, it can't add to the database because that
reference ID was already added before. So my question is
A. Is there a way upon attempting to submit to delete the original row
in the database table that contains the same referenceID and then
submitting the new record?
or
B. A way to simply get the new record to overwrite the old one.
If not, I'm in some big trouble :/
time someone recieves the form they will resubmit it to a database.
The form will have a reference ID which is unique and stored in the
database. The issue I'm having is that when the form is submitted
after the first time, it can't add to the database because that
reference ID was already added before. So my question is
A. Is there a way upon attempting to submit to delete the original row
in the database table that contains the same referenceID and then
submitting the new record?
or
B. A way to simply get the new record to overwrite the old one.
If not, I'm in some big trouble :/