I am using an SQL query which unions all of my fields together soas to preserve a certaing format:
Heading (A)
Field Entry 1 (for A)
Field Entry 2 (for A)
...
Heading (B)
Field Entry 1 (for B)
Field Entry 2 (for B)
...
To do this I use:
SELECT DISTINCT "a _GENERAL ITEMS" as Category, [General Items] as Item from [Mk 36 01Jan Source] WHERE NOT [General Items]=""
UNION ALL SELECT DISTINCT "c _APP FUNDING", [Blank Space] FROM [Mk 36 01Jan Source]
This query alphabetically sorts all of my fields so APP would come before General Items. To get around this, I put in the 'a' and 'c' characters to get the order I want. This method although effective is not very pretty.
For a shortcut, Is there a way to color the 'a', 'c', etc white so they would not show up on a report?
Thank you very much for your help,
Jimmy Shaw
Heading (A)
Field Entry 1 (for A)
Field Entry 2 (for A)
...
Heading (B)
Field Entry 1 (for B)
Field Entry 2 (for B)
...
To do this I use:
SELECT DISTINCT "a _GENERAL ITEMS" as Category, [General Items] as Item from [Mk 36 01Jan Source] WHERE NOT [General Items]=""
UNION ALL SELECT DISTINCT "c _APP FUNDING", [Blank Space] FROM [Mk 36 01Jan Source]
This query alphabetically sorts all of my fields so APP would come before General Items. To get around this, I put in the 'a' and 'c' characters to get the order I want. This method although effective is not very pretty.
For a shortcut, Is there a way to color the 'a', 'c', etc white so they would not show up on a report?
Thank you very much for your help,
Jimmy Shaw