Ah, yes, those devilish details.
Again, it 'depends'.
If you want to include certain fields in the crosstab query, they need to be joined to some field in the (basic) source of the crosstab, and then just be included with the output.
On the otherhand, if you want the fields 'added' to the XTab resultsset, they process needs to become a layered query. The XTab itself, with at least one KNOWN column in the output -to which you join the additional fields from the 'other' recordset. This can be done in TWO ways. The simplistic and rigid approach is to use the "ColumnHeaders" property and simply type in the fields of interest. The XTab will then always have those (AND ONLY those) fields. The second approach is similar to the first, in that you make a join in the XTab query which is the list of desired / selected VALUES for the additional fields. Of course, this 'field' must appear int he XTAB query results, so it should be the outter of the left join. In the results set, simply join the 'forced' field to corresponding recordset.
In general, this is quite confusing for those who have not actually 'done it' -several times, so please think about the process. In the end, it is NOT so very different than any other query or set of layered queries, it just stretches the imagiination a bit, as many do not 'see' the XTab query fields as easily as the ones from the more common query types (e.g. select).
MichaelRed
m.red@att.net
Searching for employment in all the wrong places