Can't get a dynamic filter to work

Jun 3, 2010 at 5:50 AM

Hi, thanks for making this add-on, its exactly what I'm needing. 

I've installed it successfully and created a field in my list where I want to be able to look up the values from another list created specifically for the purpose.  I need it to dynamically filter the returned items according to the value of text in a field in the current list.  Its doing everything fine except filtering the list.  I'm using WSS 3.0.  Here's my query:

<Query><Where><Eq><FieldRef Name="Unit" LookupValue="TRUE" /><Value Type="Lookup">{$Unit}</Value></Eq></Where></Query>

Where {$Unit} is the field in the current list I want the results to be filtered on. 

I'm using Version

Can you tell my why the whole list is being shown every time?