Re: Sorting Question, Please Help!
From: Rick B (anonymous_at_discussions.microsoft.com)
Date: 06/29/04
- Next message: Robin Proctor: "Re: queries Access 97"
- Previous message: Angela Hunt: "Parameters"
- In reply to: Paul: "Sorting Question, Please Help!"
- Next in thread: b-sql: "Re: Sorting Question, Please Help!"
- Reply: b-sql: "Re: Sorting Question, Please Help!"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 29 Jun 2004 15:11:37 -0500
You need to correct your table design. Add new fields called "FirstName"
and "LastName" Build an update query to take everything up to the space and
update it to the FirstName field and everything after the sapce and place it
in the LastName field. Then delete your original name field.
Rick B
"Paul" <Paul@discussions.microsoft.com> wrote in message
news:4FC8DF42-C66A-4E21-A9CC-0F2D577EAB8A@microsoft.com...
I'm running a simple report off of a query that shows a particular group of
users. However I've been informed that it would be convenient if the names
on the report were sorted by Last Name, First name. My problem is I
converted this database from an old nutplus system and put it into access,
but the field for entering a name was not split and contains the
individual's full name instead of a split version which I need to sort the
query. My idea was to take the existing name in each field of the table and
change the format from "John Doe" to "Doe, John" this way i could easily
sort the query by Last Name. Of course that would require manually
re-formatting each name in the table. Is there a way to tell Access to swap
the Last Name with the place of the First Name and put a comma in between
them? Or am I shooting in the dark here? Would there be an easier way to
do this? Any help or ideas would be greatly appreciated.
Thanks in advance.
Paul
- Next message: Robin Proctor: "Re: queries Access 97"
- Previous message: Angela Hunt: "Parameters"
- In reply to: Paul: "Sorting Question, Please Help!"
- Next in thread: b-sql: "Re: Sorting Question, Please Help!"
- Reply: b-sql: "Re: Sorting Question, Please Help!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|