Listing first and last name in reports

G

Guest

I have a Query that finds the first and lastname that is stored in separate
fields in a table.

In a report I would like to join them toghether, so it looks like this:
lastname, firstname

I have seen a suggestion using: select lastname & ", " & firstname from
tbl:table

But I am not able to find out how to use this information. It looks good but
I do not know where to put it in.

Can anybody help ?
 
G

Guest

In design view add an output field to the grid like this --
Name: [lastname] & ", " & [firstname]
 
G

Guest

Thanks, that worked.

Petterq

When You write "Name:" Should that be used in a spesific way, or

KARL DEWEY said:
In design view add an output field to the grid like this --
Name: [lastname] & ", " & [firstname]

Petterq said:
I have a Query that finds the first and lastname that is stored in separate
fields in a table.

In a report I would like to join them toghether, so it looks like this:
lastname, firstname

I have seen a suggestion using: select lastname & ", " & firstname from
tbl:table

But I am not able to find out how to use this information. It looks good but
I do not know where to put it in.

Can anybody help ?
 
G

Guest

No, you can just as easily use X for the output field label.

Petterq said:
Thanks, that worked.

Petterq

When You write "Name:" Should that be used in a spesific way, or

KARL DEWEY said:
In design view add an output field to the grid like this --
Name: [lastname] & ", " & [firstname]

Petterq said:
I have a Query that finds the first and lastname that is stored in separate
fields in a table.

In a report I would like to join them toghether, so it looks like this:
lastname, firstname

I have seen a suggestion using: select lastname & ", " & firstname from
tbl:table

But I am not able to find out how to use this information. It looks good but
I do not know where to put it in.

Can anybody help ?
 
B

BruceM

FWIW, I would tend not to use Name or other reserved words in such a
situation. I would tend toward something such as LastFirst or FullName.

KARL DEWEY said:
No, you can just as easily use X for the output field label.

Petterq said:
Thanks, that worked.

Petterq

When You write "Name:" Should that be used in a spesific way, or

KARL DEWEY said:
In design view add an output field to the grid like this --
Name: [lastname] & ", " & [firstname]

:

I have a Query that finds the first and lastname that is stored in
separate
fields in a table.

In a report I would like to join them toghether, so it looks like
this:
lastname, firstname

I have seen a suggestion using: select lastname & ", " & firstname
from
tbl:table

But I am not able to find out how to use this information. It looks
good but
I do not know where to put it in.

Can anybody help ?
 

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