S
sboyd
I have a form that submits to a database connection and then to
SharePoint, which takes the primary key with it. If I click on the
document to open it, it will not allow me to make changes because it
gives the error
InfoPath cannot submit the form.An error occurred while the form was
being submitted.
Row cannot be located for updating. Some values may have been changed
since it was last read.
I can move the submit to SharePoint first and then to the database and
the id doesn't go to SharePoint and I can resubmit without errors;
however when you edit the document and resubmit to the database, a new
line is added to the database instead of updating the original line
because the primary id is not in the form.
I found some information about setting a rule on the submit, to check
the id but I can't figure out how and where I should place the rule.
Obviously I need the primary key go with the form to SharePoint. I
was actually trying to get the SharePoint name to be the added date
and the id field so that when the form was updated the name didn't
change. I've tried several different ways to do this but I
continuously get the message above.
Does anyone know how I can resolve this problem? I'm supposed to have
a good update on this project tomorrow so any help today would be
greatly appreciated.
Thanks
siboyd
SharePoint, which takes the primary key with it. If I click on the
document to open it, it will not allow me to make changes because it
gives the error
InfoPath cannot submit the form.An error occurred while the form was
being submitted.
Row cannot be located for updating. Some values may have been changed
since it was last read.
I can move the submit to SharePoint first and then to the database and
the id doesn't go to SharePoint and I can resubmit without errors;
however when you edit the document and resubmit to the database, a new
line is added to the database instead of updating the original line
because the primary id is not in the form.
I found some information about setting a rule on the submit, to check
the id but I can't figure out how and where I should place the rule.
Obviously I need the primary key go with the form to SharePoint. I
was actually trying to get the SharePoint name to be the added date
and the id field so that when the form was updated the name didn't
change. I've tried several different ways to do this but I
continuously get the message above.
Does anyone know how I can resolve this problem? I'm supposed to have
a good update on this project tomorrow so any help today would be
greatly appreciated.
Thanks
siboyd