Hi - I am using Infopath 2007.
I would like to display the Sharepoint status and version on my infopath form.
I have set up a secondary data source to collect that information for the current form. - This creates a repeating group. (But I should only ever have one value in it - as I have chosen current form)
I have a repeating section in my form which displays the data.
BUT the Approval status sent is a number.... I know that 0 = Approved, 3 = Draft etc.
I have tried to 'decode' the approval status into a field in my main data source by setting a field value = Draft if max(@Approval_Status) = 3 this did not work
So I created a field and set the default value to max(@approval_status) - ie no decoding to words..... and that does not work either - I get a blank field
I have also tried setting it to @Approval_Status and still get a blank - yet I can see on my form the fields from my secondary data connection - and the value is 3
I am obviously missing something - can someone point me in the correct direction ?
In my ideal world I would like to create one field which concatenates the Sharepoint version number with the 'decoded' approval status just for display
Thank you
Catharine