Change Query Field Name

S

Stockwell43

Hello,

I have a query with the field name "LastName". When I pull a report and
export it to excel at the top of the column it come out as "LastName". How
can I change it in the query so when I export to excel the column heading
says "Customer/Entity Name?

Thanks!!
 
F

fredg

Hello,

I have a query with the field name "LastName". When I pull a report and
export it to excel at the top of the column it come out as "LastName". How
can I change it in the query so when I export to excel the column heading
says "Customer/Entity Name?

Thanks!!

In the query grid, instead of the column LastName, write:
Customer/Entity Name:[LastName]
 
S

Stockwell43

Worked like a gem!!!! thank you both for your help!!

fredg said:
Hello,

I have a query with the field name "LastName". When I pull a report and
export it to excel at the top of the column it come out as "LastName". How
can I change it in the query so when I export to excel the column heading
says "Customer/Entity Name?

Thanks!!

In the query grid, instead of the column LastName, write:
Customer/Entity Name:[LastName]
 
Top