How to define a XPath expression based on a choice of a dropdown listbox

V

virgul

Hi,

I have some probleme to define an Xpath expression based on a secondary
choice in dropdown listbox.

I have that


one listbox in a table and I want to filter data based on the name in
the listbox. When i try to define a filter based on the default value
that work but when I try to do that with a secondary value that don't
work.

my listbox contain : Albert (default), thierry and Manfred.

When I ad a filter like that (based on default) that work:

xdMath:Eval(../../../my:groupe8/my:AktienTyp1[.= "Albert"],
"../../../my:groupe8/my:Nennwert")


but when I do the same things with thierry for example infopath send me
this error

MSXML5.DLL
Référence à un préfixe d'espace de noms non déclaré : 'my'.
(translate in english: reference to a namespace prefix not
declared:'my')

Error occurred during a call to property or method 'Eval'.


Anybody has an idea because it's very strange! I don't understand
Thanks for your answer

++
 
V

virgul

sorry I have do a mistake in Xpath expression it's:

xdMath:Eval(../../../my:groupe8/my:AktienTyp1[.= "Albert"],
"my:Nennwert")
 
V

virgul

I have try to do that with not equal but that send me the same error:

xdMath:Eval(../../../my:groupe8/my:AktienTyp1[.!= "Albert"],
"my:Nennwert")
 

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