Filtered Lookup Field dinamically

Jan 31, 2012 at 2:21 PM

Hello, I have a question:

There are two lists.

One list called 'Elementos' with a text field named LinkTitle

Other list (Inventario) with a lookup field named Elemento.

Elemento List has a Filtered Lookup Field which has the next calm query:

<Where><Eq><FieldRef Name="LinkTitle"></FieldRef><Value Type="Text">{$Elemento}</Value></Eq></Where>

but it doesn't work. I don't manage to return the value of the element edited.

 

Could somebody help me?

Thanks in advance.