Glad to see I'm not the only one Adub21 lol! I'm still having trouble with this but I've learned a lot about XPATH along the way.
Now that I know more I'm going to try to explain my situation a little better.
Here's my Schema:
- my:SMARTool(repeating group)
- my:Section1-A_CI(repeating group)
- ProjectCommonTitleCI (DDL - Access database is secondary datasource)this is filtered based on the selection in another DDL Department - once a department is selected all the projects for that department populate this ddl.
- ProjectNumberCI (textbox - Access database is secondary datasource this # should correspond to the ProjectCommonTitleCI)
- ProjectDescriptionCI - (textbox Access database is secondary datasource this should correspond to the ProjectCommonTitleCI)
I use a filter for both @ProjectID or @Project_Description[@Common_Title = ProjectCommonTitleCI]
I need to get the two textboxes to look at the current value in the DDL and return corresponding values from the record in the Access database. It's not a problem on the first repeating section but in subsequent sections the textboxes will allow me to input different values as long as they precede the value in the DDL in the first section.
This is weird so I'll try to demonstrate it.
1st Repeating section (this is the behavior that I want)
DDL = 5
Filtered TB1 = 5
Filtered TB2 = 5
2nd Repeating section (this works as long as the value precedes the first value)
DDL = 4
Filtered TB1 = 4
Filtered TB2 = 4
3rd Repeating section (here's the problem)
DDL = 6
Filtered TB1 = 5
Filtered TB2 = 5
I've tried every configuration of current() that you've (Matt) suggested and looked at other message boards. HELP! I have a presentation in a few days and really need to work this out.