You correctly recognised the ramblings of a senile old fool.
Probably not, John, those were probably my ramblings <grin> and I am probably older and more senile an old fool than you <smile>
I made a filter
Surname // = Equals // Jones // OR
Surname // =Equals // Smith // END
and used this in Second Site
Hmm... How are you using a Filter in Second Site?? I am further confused. But soldiering on...
, which is where I read the names of wives but only the maiden names of daughters, though the index there gave their married names. Being fully aware of the present dangers of discriminating in the way I treat any gender I think that I may have solved it with a filter which reads
Surname // = Equals // Jones // OR
Surname // =Equals // Smith // AND
Name-Marr...// Any Name Field // = Equals // Jones // OR
Name-Marr...// Any Name Field // = Equals// Smith // END
I am "guessing" that you really mean you are using the above filter in a List of People report where you have the Secondary Output set a Flag based on this Filter. And then you use that Flag in Second Site??? Have I guessed correctly? Or how are you filtering Second Site?
A TMG Filter like yours may?? be what you want, but I would suggest two changes to the above combined Filter:
( Surname // = Equals // Jones // OR
Surname // = Equals // Smith // ) AND
( Name-Marr...// Surname // = Equals // Jones // OR
Name-Marr...// Surname // = Equals // Smith // ) END
Notice using the Surname name part and the parentheses which are required when you mix AND and OR conditions.
I had already refined Jones and Smith as descendants of a common progenitor but I can't ensure that the females who have either of the married names are not in fact married to a Smith or Jones in whom I have no interest.
Not sure what you mean by "refined" , maybe "defined"?? If your actual goal is to identify only those people who are direct descendants, plus spouses, of a given person, I suggest a better way in TMG is to use a Focus Group.
Start with an empty Focus Group and add the common ancestor. Now with that person still selected in the Focus Group, check Descendants for the desired number of Generations, plus check Spouses, and with one click Add all these people to this Focus Group. (I would probably Save this Focus Group of people with an appropriate name for subsequent use.) Of course, descendants of a female who married will include the descendant children etc. with her husband's surname, which may not be what you want.
Alternatively, if you have some how identified a group of people based on their surnames, and simply want all of their spouses added to that group, you could again use a Focus Group. Filter the Project Explorer for your group. With an empty Focus Group, Right-Click in the filtered PE and "Add all names to Focus Group". Now in the Focus Group "Select All", check "Spouses". A single Add Others click will now add all these peoples' spouses to this Focus Group.
Now that you have these descendants and their spouses identified, run a List of People report Filtered by this Focus Group, and use the Secondary Output to set a unique Flag value for these people.
Finally in Second Site set the option in Data//People to "Include" based on this Flag value, or create a Pages//User Items//Custom Index based on this Flag value, or whatever else you want to do in Second Site using the Flag which identifies these people.
Apart from using SS I presume that if I make a flag for the above filter I could then produce a TMG report?
Yes, but as Jim and Terry warned, some TMG reports (such as various Ancestor and Descendant reports) intentionally generate information about many people based on the focus of the report being a single person. So be careful about which type of report you are generating.
Hope this gives you ideas,