Should I put that expression in the sort section of the query?
Russ
4:24pm #115583 Hi Russ, You can create a new column in your query (or expression in a Control Source) FullName: [FirstName] & " " + [MaidenName] & " " & [LastName] If maiden name is null then there will still be only one space between first and last names. Regards, Duane
|
|
Sevier Consulting Group 4:26pm #115584 That’s how I handle it in all my applications for clients. Works just fine. toggle quoted messageShow quoted text
|
|
"Sorting and displaying men and women last names and maiden names"
|
|
5:46pm #115587 Hi Russ, Please keep the previous messages from the thread in your reply. You can sort by this expression: Nz([Maiden Name],[Last Name]) Duane
|
|
Duane, I will give it a try. Thank you. Russ Hi Russ,
You can create a new column in your query (or expression in a Control Source)
FullName: [FirstName] & " " + [MaidenName] & " " & [LastName]
If maiden name is null then there will still be only one space between first and last names.
Regards, Duane
Yes Duane I have done that but how can I sort them by their original name? You know, sorted by Last name of the men and at the same time sort them by the maiden name while displaying the women by first, maiden, last. You can sort by this expression:
Nz([Maiden Name],[Last Name]) Duane
|
|
Where should I put that expression? Where in the report? Duane, I will give it a try. Thank you. Russ Hi Russ,
You can create a new column in your query (or expression in a Control Source)
FullName: [FirstName] & " " + [MaidenName] & " " & [LastName]
If maiden name is null then there will still be only one space between first and last names.
Regards, Duane
Yes Duane I have done that but how can I sort them by their original name? You know, sorted by Last name of the men and at the same time sort them by the maiden name while displaying the women by first, maiden, last. You can sort by this expression:
Nz([Maiden Name],[Last Name]) Duane |
Groups.io Links:
You receive all messages sent to this group.
View/Reply Online (#115591) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]
Tidak ada komentar:
Posting Komentar