Change Query Field Name

G

Guest

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]
 
G

Guest

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top