R
Ryan Cheng
I need some help for a project I am doing.
I am using infopath2007 with an Access2007 database.
I have 3 tables
1)tblInformation (Name, ID, startdate...) //non-repeating
2)tblFunding (ID, Participants, Amount...) //repeating
3)tblApproval (ID, Name, Position, Status...) //repeating
I want all these related by ID in a One to Many relationship.
(Unfortunately, Infopath wont let me submit data if fund and approve dont have primary keys [interpreting a M:1 relationship] so I made a unique index# for each table and related those aswell.)
tblInformation -1:M- tblFunding
tblInformation -1:M- tblApproval
(aka a single form ID can have multiple instances of funding and approval)
I have 1 nonrepeating section for Info and 2 repeating sections for funding and approval.
Problem: When I try to submit with a section repeated more than once i get a 'Empty row cannot be inserted. Row must have at least one column value set.'
I assume this is happening
tblInfo | tblFunding | tblApproval
stuff | stuff | stuff
null(error) | cant submit more stuff
^because i only enter tblInfo once.
Im not sure how to get around this issue because Infopath and Access have so many restrictions. Any help would be greatly appreciated.
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
I am using infopath2007 with an Access2007 database.
I have 3 tables
1)tblInformation (Name, ID, startdate...) //non-repeating
2)tblFunding (ID, Participants, Amount...) //repeating
3)tblApproval (ID, Name, Position, Status...) //repeating
I want all these related by ID in a One to Many relationship.
(Unfortunately, Infopath wont let me submit data if fund and approve dont have primary keys [interpreting a M:1 relationship] so I made a unique index# for each table and related those aswell.)
tblInformation -1:M- tblFunding
tblInformation -1:M- tblApproval
(aka a single form ID can have multiple instances of funding and approval)
I have 1 nonrepeating section for Info and 2 repeating sections for funding and approval.
Problem: When I try to submit with a section repeated more than once i get a 'Empty row cannot be inserted. Row must have at least one column value set.'
I assume this is happening
tblInfo | tblFunding | tblApproval
stuff | stuff | stuff
null(error) | cant submit more stuff
^because i only enter tblInfo once.
Im not sure how to get around this issue because Infopath and Access have so many restrictions. Any help would be greatly appreciated.
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com