In fact, I see not 1 but 2 tables that share the same global.
so it might be easier to have 2 separated definitions one with and the other without the 4th subscript (some $h)
for access with SQL you than can use a UNION to assemble them. like:
SELECT * FROM (
SELECT Account, PGC, Entity, ' ' as DateTime, ..fields... FROM TAB1 WHERE <some condition >
UNION ALL
SELECT Account, PGC, Entity, DateTime, ..same as above... FROM TAB2 WHERE <same condition >
) order by 1,2,3,4or you decide to add the missing subscript in your global to have a common structure
- Log in to post comments