In essence, this is what I was attempting to do. The Title page exists, but not in the Summary and not counted as a folio/page. Additionally, the roman numerals for Table of Contents and folio/page 1 being the actual schematic.
1. SQLite limitations are prohibiting me from making a compound select statement. An error exists when trying to incorporate math and the ORDER BY operator when in a COMPOUND SELECT query with the UNION operator. In fact this error is persistent when using UNION and ORDER BY with various other operators such as REPLACE().
2. Even if I successfully create the SQLite Query that I want, OFFSET is used to OFFSET the table output, as far as I can tell, there is no way to OFFSET the tables before you create the UNION. This means even if I get my roman numerals to appear at the top of the table, I will OFFSET them away when I want to OFFSET other parts of the table.
3. I can't figure out a way to get rid of the Table Header, so I can't even try faking it by creating more than 1 table and just have one sit on top of the other, creating the illusion of 1 table.
4. Now, I could create separate tables and keep the headers and try to build that into the aesthetic of the Summary design. I might write a query for a Table of Contents Table of more than 1 pages something like,
SELECT "I." AS Page, title FROM element_nomenclature_view WHERE pos = '1' UNION SELECT "II." AS Page, title FROM element_nomenclature_view WHERE pos = '2'
I assume the above query would work, but in order to create the custom width columns by creating individual tables for each column, I would have to just do the above for title only, and manually create the boxes as drawings for the Page column. As an error is created if I don't pull from any specified column.
I could do something really dumb like
SELECT "I,." || date AS Page, FROM element_nomenclature_view WHERE pos = '1' UNION SELECT "II." || date AS Page, title FROM element_nomenclature_view WHERE pos = '2"
However, I would have to leave the date for the table of contents blank
5. Even if, I some how resolve all the issues above. QET does not allow me to modify the custom variables like %{folio-id} with math. Example where %{folio} = 1/30, (%{folio-id}-1) = (1-1) . Here I would be trying to get a result of 0. ((((!!!!!! If there is a way to do this, please please please let me know!!!!!!!!))))))
#5 kills the whole idea. Without a way to modify QET Custom Variables, there is no point in trying to work through the SQLite issues. My Title Blocks on each page will be incorrect even if I solve the summary issues.