You won't see the namespaces, etc unless you check the box to show the full XPath (at the bottom fo the insert formula dialog box). InfoPath hides those by default to simplify the expression for the user. But you can have it show everything if you want.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Ok Greg,
I have tried to get this to work by following the description in the
help file and what you said and all I get is a blank space or an reeor
that tells me the 'd' doesn't work: "d../@department_name" does not
point to a valid location path of a field or group.
My structure looks like:
myFields
queryFields
dataFields
d:hr_dept
dept_id
department_name
department_num
etc.
So I assume that the namespace is the 'd' And when I use the Fx button
and go to the insert formula with concat and put the fields in they
look like this: concat(@department_name, @department_num).
So what am I doing wrong?
Nick Monsour - 29 Nov 2004 13:49 GMT
Good morning Greg,
I hope you had a good holiday.
So I am back to work on this and it still doesn't work. When I check
the box to reveal the full Path all I see that is inserted is ../ in
front of @department_name. Here is a copy of the
statement-{concat(../@department_name, ../@department_id)} and when I
uncheck that box it looks like {concat(@department_name,
@department_id)}. Where do I find the namespace? What am I doing wrong?
I have no idea why this isn't working.
Thanks
Nick