yes, that is what I need to do. The current siteiid value is actually the ranking of that siteiid field in one of the original tables (table:site) being queried, of which there are over 900 records. That is why values are 450, 451, etc. . The query takes a subset from the "site" table, and info...