Hello Hilary, sorry to come back to this.. oh Happy New year BTW.
I did get my head around the xml file and edited the template you gave me - I've inserted it into my form and made all the necessary connections etc. works fine.
The problem I have, when I try and get the calculated value "Result" its not working or doesn't show me anything.
I'm using two dropdown listbox, (which on your example would be field1 & feild2), mine have data connection to a SharePoint list library. I've set the properties for each dropdown as follows:
Field name: cmb01 & cmbE1
Data type: Text (string)
Data source: Risk Assessment Data
Entries: *to the top level of the Risk Assessment Data*
Value: *lookups Number value*
Display name: *lookups Title*
Again, this seems to work fine - and yet the calculated value is blank!
The text box for the calc value I've set the default value (fx) as: Result[Risk = cmbO1 and Probability = cmbE1]
Its like the calculated value because its looking at the display name and not the Value?
Any help would be much appreciated,
Thanks
Mike