It does not matter what the formula is. It's definetely not a question of
Xpath. Any formula won't work, when checked with "Verify formula", modified,
unmodified or new, but they do actually work fine when printing, editing
data, ...
Ther error shows up for the most trivial examples.
What I would like to know, whether there exists an expanded message, which
tells me which is the "Duplicate attribute".
Actually, I can go on, by copying and pasting old Expression Boxes into new
ones, and then modifying the view's xsl file by hand, but I loose the
inmediate syntax verification and tools when editing inside Infopath's
editor.
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> wrote in message
Sorry -- I misunderstood your original question. Thanks for the
clarification.
What was the origianal formula that worked, and what is the changed formula
that is failing?
--
Greg Collins [InfoPath MVP]
Visit
http://www.InfoPathDev.com
Ok. The verify button is the one which is in the designer, in "Expression
Box Properties" -> "Edit Formula" -> "Verify Formula".
It is not a button I added.
Also, the same error happens, if for example, I try to modify the "Format"
(from Expression Box Properties", but does not occur when changing the
alignment, or other settings from the "Display" tab.
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> wrote in message
It sounds like you have some code behind that verify button which is
attempting to add an attribute. Is this the case? If so, then perhaps it
really is a duplicate.
--
Greg Collins [InfoPath MVP]
Visit
http://www.InfoPathDev.com
I am editing a pretty big Infopath form, with 2 views (1 for editing / 1 for
printing).
In both views, whenever I add or modify or press the "Verify formula" button
of an Expression Box, I get the "Duplicate attribute" error.
However I can edit manually the views and editing/printing the form works
perfectly.
I don't know where that error comes from, how to proceed or how to isolate
the problem.
Any idea?