Clear or Cancel A New Record

R

ridawg

Hey,

In my form I have 3 views - Search, Details, New Record. My form is
connected to an access database.
When a user selects the new record button the view is switched to teh new
record view and the user fills out the required info and submits it to the
database. The problem I'm having is when the user fills out some of the info
and for whatever reason decides to cancel (not submit) the new record. I
would like to have a cancel button that clears the incomplete entry and
returns them to the search view. I do realize I could set all the fields to
blank when the user clicks the cancel button but it seems that the record
still exists in the form when I do that.

My users are occassionally recieving the following error:
InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The structure of the dataFields group has been changed, and it no longer
matches the structure of the data source.

I think they are receiving this error because the cancelled record to still
exists in the form then they enter a second new record and the form tries to
submit the both the new record and cancelled record.

Just a guess - I haven't been able to find any other explanation for the
error message.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top