M
Mullie21
I have an form linked to a MS Access DB and I'm having some trouble
submitting the form. Here is the scenario: I have one table for financial
data. This financial data has two identifiers, date and project. Data for
the date and project are stored in two separate tables joined in Access with
keys.
What I'm trying to accomplish is allow the user to input the project and
date once, and then input multiple records into the financial data table
utilizing the project and date. So, to do this at the top of my screen I
have two cascading lists, one for project and one for date that query the
information from the database. Then I have a repeating section which pulls
the date and project from the header and allows the user to enter the
detailed financial data.
Everything is working perfectly in the form. I am having issues when I
submit the form. From the best that I can tell, the form is not only
submitting the data in the repeating table to the database, but it is trying
to create new records in the project and date tables as well. The result is
an error when I submit that says submission of the data will create duplicate
records in the database (records with the same primary key).
Is there any way that I can prevent the project and task data from being
submitted to the database and only submit the data in the repeating section?
Any other advice is appreciated as well.
Thanks,
Chris
submitting the form. Here is the scenario: I have one table for financial
data. This financial data has two identifiers, date and project. Data for
the date and project are stored in two separate tables joined in Access with
keys.
What I'm trying to accomplish is allow the user to input the project and
date once, and then input multiple records into the financial data table
utilizing the project and date. So, to do this at the top of my screen I
have two cascading lists, one for project and one for date that query the
information from the database. Then I have a repeating section which pulls
the date and project from the header and allows the user to enter the
detailed financial data.
Everything is working perfectly in the form. I am having issues when I
submit the form. From the best that I can tell, the form is not only
submitting the data in the repeating table to the database, but it is trying
to create new records in the project and date tables as well. The result is
an error when I submit that says submission of the data will create duplicate
records in the database (records with the same primary key).
Is there any way that I can prevent the project and task data from being
submitted to the database and only submit the data in the repeating section?
Any other advice is appreciated as well.
Thanks,
Chris