Link to home
Start Free TrialLog in
Avatar of tuckcorp
tuckcorp

asked on

Infopath repeating section,repeating table

Infopath 2007 using a sql database. I tracking problem cases. When I search by server I can get mutiple repeatinging sections back with case number,server number, date. On each repeating section there should be a repeating table that track multiple lines of history relating to each case. I just can't seem to get the right combination.
repeating section
_______________
case number
server number
date
issue
___________________
repeating table
date  user name action taken
date user name action taken
date user name action taken
_____________________
ASKER CERTIFIED SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tuckcorp
tuckcorp

ASKER

thank you. i have tried adding another table to the data coonection from the sql server,i tried adding a second data connection to receive data, but this show everything in the database. the ,closest i came was using a repeating section with the history table placed inside but this showed  all history not just the history for the info specfic to the repeating section.
You have to use conditional formatting.

On the repeating table add a conditional format
server number != server number then Hide the row


That way only history for that item is shown inside the item.
This is not very performant and it would be better to go into your main data connection and modify.
Use the add table button and select the history table. Then set the relationship on the server ID or whatever.
Then when a query is made, only the associated history will be loaded.