Is there a way to reproduce such technique in FileMaker.
SELECT t.Field1 AS Field FROM Table t WHERE t.Field1 IS NOT NULL
UNION ALL SELECT t.Field2 FROM Table t WHERE t.Field2 IS NOT NULL
/*[...]*/
UNION ALL SELECT t.FieldN FROM Table t WHERE t.FieldN IS NOT NULL
ORDER BY Field
/* If I'm correct, aliases are taken from first subquery and "ORDER BY" clause from the last one.*/
I want to be able to switch from :
ID, "BMW", "Audi", "GM", NULL, NULL
ID, "Ford", "Audi", NULL, NULL, NULL
ID, "Toyota", "Pontiac", NULL, NULL, NULL
To:
"Audi"
"Audi"
"BMW"
"Ford"
"GMC"
"Pontiac"
"Toyota"
Merci ;)