Hi,
Had a search for this but couldn't quite find what I was looking for, so apologies if this has been previously answered.
Using IP2010, I have a standard SharePoint list data connection to a list which looks like this:
| Title | Low | Medium | High |
Threshold A
|
0.1 |
0.3 |
0.5 |
Threshold B
|
0.2 |
0.7 |
1.0 |
Threshold C
|
3 |
6 |
10.0 |
In my form, I want to allow a user to enter a number for each threshold, a modifier (i.e. L,M,H) and for the form to multiply the two numbers together. E.g.
| Value | Modifier | Result |
Threshold A
|
[NUMBER FIELD]
e.g. 10
|
[DROPDOWN FIELD] - contains Low, Medium, High e.g. Medium
|
[CALCULATED FIELD] - Value * Matching Modifier against the lookup for Threshold A (e.g. 10 * 0.3 = 3)
|
I can filter the List Data Source to get the Threshold A values but I can't figure out how to then return the value of the column that matches the name selected in the Modifier dropdown (i.e. Low/Medium/High)?
i.e. xdXDocument:GetDOM("Thresholds")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title = "Threshold A"] gets my the whole row in the list but I want dynamically retrieve the specific column - something like "xdXDocument:GetDOM("Thresholds")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title = "Threshold A"]/d:[VALUE OF DROPDOWN]"
Thanks!
p.s. I'm looking for a no-code-behind solution