Names in an Expression

E

Elizabeth Reynolds

I need to put first and last names in an expression. I have done this but
how do I put a space between the names?
 
E

Elizabeth Reynolds

Thanks for the help.

Now, I need to sort by the last name that is in an expression that consists
of first name and last name. Can you help me with this?

Duane Hookom said:
[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


Elizabeth Reynolds said:
I need to put first and last names in an expression. I have done this but
how do I put a space between the names?
 
P

PC Datasheet

Include both Duane's expression and the Last Name field in your query. Sort
on Last Name.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
[email protected]
www.pcdatasheet.com


Elizabeth Reynolds said:
Thanks for the help.

Now, I need to sort by the last name that is in an expression that
consists
of first name and last name. Can you help me with this?

Duane Hookom said:
[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


in
message news:[email protected]...
I need to put first and last names in an expression. I have done this
but
how do I put a space between the names?
 
O

Ofer

Select [First Name] & " " & [Last Name] as FullName ,[First Name] , [Last
Name] From TableName Order By [Last Name]

--
I hope that helped
Good luck


Elizabeth Reynolds said:
Thanks for the help.

Now, I need to sort by the last name that is in an expression that consists
of first name and last name. Can you help me with this?

Duane Hookom said:
[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


Elizabeth Reynolds said:
I need to put first and last names in an expression. I have done this but
how do I put a space between the names?
 
E

Elizabeth Reynolds

For some reason I cannot get this to work.

Ofer said:
Select [First Name] & " " & [Last Name] as FullName ,[First Name] , [Last
Name] From TableName Order By [Last Name]

--
I hope that helped
Good luck


Elizabeth Reynolds said:
Thanks for the help.

Now, I need to sort by the last name that is in an expression that consists
of first name and last name. Can you help me with this?

Duane Hookom said:
[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


message I need to put first and last names in an expression. I have done this but
how do I put a space between the names?
 
O

Ofer

What are the names of the fields (first and last name) and the name of the
table

--
I hope that helped
Good luck


Elizabeth Reynolds said:
For some reason I cannot get this to work.

Ofer said:
Select [First Name] & " " & [Last Name] as FullName ,[First Name] , [Last
Name] From TableName Order By [Last Name]

--
I hope that helped
Good luck


Elizabeth Reynolds said:
Thanks for the help.

Now, I need to sort by the last name that is in an expression that consists
of first name and last name. Can you help me with this?

:

[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


message I need to put first and last names in an expression. I have done this but
how do I put a space between the names?
 
D

Duane Hookom

Sorting your query may not have any effect on the sorting in your report.
Open the report's sorting and grouping dialog and set the expression to:

[LastNameField]

--
Duane Hookom
MS Access MVP


Ofer said:
What are the names of the fields (first and last name) and the name of the
table

--
I hope that helped
Good luck


Elizabeth Reynolds said:
For some reason I cannot get this to work.

Ofer said:
Select [First Name] & " " & [Last Name] as FullName ,[First Name] ,
[Last
Name] From TableName Order By [Last Name]

--
I hope that helped
Good luck


:

Thanks for the help.

Now, I need to sort by the last name that is in an expression that
consists
of first name and last name. Can you help me with this?

:

[First Name] & " " & [Last Name]

--
Duane Hookom
MS Access MVP


"Elizabeth Reynolds" <[email protected]>
wrote in
message I need to put first and last names in an expression. I have done
this but
how do I put a space between the names?
 
Top