I've viewed all of the posts concerning cascading list boxes and I understand what is being suggested but I'm SO new to InfoPath I'm getting something wrong. I'm populating my 2 list boxes from an Access Database.
User selects a Category (i.e. List Bill, Enrollment, EOI etc...) and Items are filtered out in the second list box.... (i.e. user selects List Bill in first box and second box shows only items that pertain to List Bill auditing). This works like a charm. The problem is that it's a repeating table and when I insert a new row the data entered into the first row carries over. I've seen repeatedly to use the Current() function but I've put it in every location imaginable to no success. Might be because I have a Main table with a table nested under it and I need to reference the dfs stuff but don't know how to properly do it.
Data sources look like this:
My fields
Queryfields
Data Fields
d:tblMainAuditInfo
tblSAAudit (which contains the field "Category" that I am using in the 2nd list box).
I'm setting the filter on my second list box as follows:
Data connection = tblSAAuditItems (secondary data source)
Entries = d:tblSAAuditItems
Filter Data:
Category (a secondary data source tblSAAuditItems) is equal to xdxDocument:get-DOM()/dfs:myfields/dfs:datafields/d:tblMainAuditInfo/d:tblSAAudit/@Category
This works perfectly on a non-repeating table but where in the world do I put current() in to make it work for a repeating table?
I don't know if I've provided too much information or not enough.... this has to be easier than I'm making it!!
Help is greatly appreciated!! Thanks in advance!