Hello,
I recently made some changes to an InfoPath form I created. It is connected to an Access database. Previously, it queried/submitted to only one Access table. Now, I've broken the single table out into two tables -- one is a request table; the other is a table called Customers (it represents a repeating section, as there can be more than one customer per request).
When I submit a form, even with multiple customers added to the form, all of the entered data is put into Access correctly. I'm having two BIG problems when I try to run a query in InfoPath against those tables, though:
-
The results omit the repeating section. It shows the small section of the form that is bound to the request table, and that's it.
-
Only one request is returned in queries that should have many requests.
I should add that the Requests table has a primary key of Request ID. The Customers table has a primary key of (Request ID and Customer ID). They are joined on Request ID (obviously). I tried making Customers' primary key Request ID (because currently, the data allows me to do so -- just testing to see if the PKs were an issue). I still have the same issue with query results.
I should know better than to try to release a form on Friday afternoon. Now, I'm stuck working on it this weekend. Ugh. Thanks for any help you can offer!
ETA -- I just realized that my form CAN'T display more than one request in the query results because requests aren't a repeating section. So how would I let users search for requests made in a particular month, for example (request month is stored on the Requests table).
Still can't figure out the missing Customers sections. Please share any thoughts you may have on this. I would be VERY appreciative!