I am now MORE confused than ever. I know that you are not going to believe what I am writing here - (Mad women doesn't know what she's talking about !! Is what you are going to think) - But I am going to set down here exactly what I have done.....
I got your e-mail this morning and decided to have another go prior to sending/attaching the xsn. I went into my infopath form, and typed my command longhand into my concat field and verified it..... It worked no problems - Yesterday I could not get it to work at all. So I figured that I must have made a mistake yesterday. So I cut and pasted the verified command - it looked identical to the one I was trying yesterday. Then I cut and pasted the one I showed in yesterday's e-mail into the field and it verified. FREAKY.
I have done the following twice... so I have some level of consistency on my machine.
I have created a BRAND NEW template with the Data
Skills
Skill(repeating)
Skill_Category
Skill_Name
Skill_Level
Skill_Concat
I have gone to the Skill_Concat field and cut and pasted...
xdMath:Eval(xdMath:Eval(../my:Skill,'concat(my:Skill_Name, ";")'), "..")
verified and got the error
I have then saved(NOT Published) the template....
cut and pasted...
xdMath:Eval(xdMath:Eval(../my:Skill,'concat(my:Skill_Name, ";")'), "..")
verified and got the error
I have then closed the template and opened it again
cut and pasted...
xdMath:Eval(xdMath:Eval(../my:Skill,'concat(my:Skill_Name, ";")'), "..")
and it has verified with no errors
I don't know what this is indicating - maybe I have a glich in my installation - I could attach my xsn - but having saved it it would work.....
BUT... even though the command above works I cannot get filtering to work but it could be that the command is wrong.... I have tried
xdMath:Eval(xdMath:Eval(../my:Skills, 'concat(my:Skill_Name[. != " "], ";")'), "..") and
xdMath:Eval(xdMath:Eval(../my:Skills, 'concat(my:Skill_Name[. != ""], ";")'), "..") - no verify error - but I get floating ; when the field is blank - was hoping to filter out empty rows
xdMath:Eval(xdMath:Eval(../my:Skills[Skill_Level = 3], 'concat(my:Skill_Name[. != " "], ";")'), "..") - get same verify error.
Sorry for the long ( and unbelievable) reply - I guess I just have to keep saving and opening my templates(?) but I would like to know the correct format for using filtering in this command.
Thanks for reading
Catharine