Hi Kim,
I just completed a test with a total of 3 tables and it works without
issue. Here are my tables and fields - if you could test this in a new
Access database that would be great!
- Create the following tables and fields:
- tblCustomers
CustomerID, AutoNumber, Primary Key
CustName, Text
- tblAddresses
AddressID, AutoNumber, Primary Key
CustomerID, Number
Address, Text
- tblPhones
PhoneID, AutoNumber, Primary Key
CustomerID, Number
PhoneType, Text
PhoneNum, Text
- Create relationships (in Access) between the tables as follows:
- tblCustomers -> tblAddresses on CustomerID
- tblCustomers -> tblPhones on CustomerID
** NOTE: I did choose the option: Enforce Referential Integrity
- Close Access
- Create a new (from Data Connection) InfoPath solution pointing to the
above database
- When you begin to add tables:
- Add tblCustomers
- Add tblAddresses and this should automatically create a relationship on
CustomerID
- Highlight tblCustomers before adding tblPhones
- Once complete, from the Data Source Task Pane, drag "d:Customers" to your
form and choose the option: Repeating Section with Controls -this should
add tblAddresses and tblPhones as Repeating Tables
- Preview the form
- Add your name to the CustName field, some dummy data to the Address,
PhoneType and PhoneNum fields
- Click the Submit button - this should successfully submit back to your
Access database
Let me know if this works for you!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.