On Jun 12, 2020, at 6:13 PM, Russ <grizpatch@twc.com> wrote:
Duane,
Should I put that expression in the sort section of the query?
Russ
4:24pm #115583
toggle quoted messageShow quoted textHi 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 Group4: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"
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.
Russ
5:46pm #115587
toggle quoted messageShow quoted textHi 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.
RussYou 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.
RussYou can sort by this expression:
Nz([Maiden Name],[Last Name])
Duane
Tidak ada komentar:
Posting Komentar