Hi
I have a query which returns 100+ records.
The thing is that I need columns not to show on the query if ALL the records are empty for that column.
For example, if all records are empty on COLUMN5, then don´t show that column on the result.
I am exporting the query to EXCEL once finished, and I have between 3-8 columns showing with no records.
Obviously I could simply hide those columns HOWEVER sometimes they do have valus, so I need them to be displayed.
Is there a way of doing this?
Thanks in advance.
I have a query which returns 100+ records.
The thing is that I need columns not to show on the query if ALL the records are empty for that column.
For example, if all records are empty on COLUMN5, then don´t show that column on the result.
I am exporting the query to EXCEL once finished, and I have between 3-8 columns showing with no records.
Obviously I could simply hide those columns HOWEVER sometimes they do have valus, so I need them to be displayed.
Is there a way of doing this?
Thanks in advance.