Many thanks for that Greg.
I have a simple filter working and I am now trying a more complex
filter but this is giving me an error message of:
"Required white space was missing.".
I have two textbox fields field1 and field2. I wish to filter using
these if they are not blank against two fields of the secondary datasource.
The filter I have is as follows:
xdXDocument:GetDOM("Secondary Datasource")/Group1/Group2[contains(Code, xdXDocument:get-DOM()/my:myFields/my:field1[. != ""]) and contains(sDescription, xdXDocument:get-DOM()/my:myFields/my:field2[. != ""])]
Perhaps it really is a simple as a missing white space but I know not where!
Many thanks again for your response.