O
oghebrial
of creating a new recordset?
I would like to know how I can an update a recordset in a SQL server
database instead of creating a new recordset when using the submit button; I
have a form which uses a custom submit command to submit the recordset to a
SQL server database and then e-mails the form to a different user; once that
person receives the form they should be able to add comment and populate
additional fields; currently when this person who received the form via
e-mail tries to submit the form to the database, infopath will try to create
a new record instead of updating the current record which will result in an
error because the database will enforce uniqueness for the primary key.
Can I build a custom submit command to update the record instead of trying
to create a new record?
I would like to know how I can an update a recordset in a SQL server
database instead of creating a new recordset when using the submit button; I
have a form which uses a custom submit command to submit the recordset to a
SQL server database and then e-mails the form to a different user; once that
person receives the form they should be able to add comment and populate
additional fields; currently when this person who received the form via
e-mail tries to submit the form to the database, infopath will try to create
a new record instead of updating the current record which will result in an
error because the database will enforce uniqueness for the primary key.
Can I build a custom submit command to update the record instead of trying
to create a new record?