Duplicate Attribute

V

virgul

Hi,


My XSN is a search and I want to merge an xml on the onload event(this
part is ok)

But now I try to make a copy (in an other field) of one of my attribute
and when I am in the xpath expression I define only the value of the
attribute and infopath make me an error:

Duplicates attributes!!!!

Any idea about how to make for don't have this error? Has in infopath a
function like "this.myfield" when you are in a reapeating section for
select the current?

Thanks in advance

Thierry
 
S

Scott Roberts [MSFT]

I don't fully understand the issue but try using the current() XPath
function (e.g., current()/my:field1). That will give you the current item.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top