PC Review


Reply
Thread Tools Rate Thread

Combining Two Fields in One Calculated Field

 
 
PlarfySoober
Guest
Posts: n/a
 
      1st Apr 2010
Somebody wrote on this forum recently how to do this. In a table or a query,
maybe both, and it was really simple and clever but I failed to print it for
my notes.

Take <FName>+" "+ <LName>, call them by another name (field name?) so that
when I create a report, I don't have to worry about where to place the
elements of a name so they look smooth and all melody and fine.

Is this possible in a mere table? If not, please how do you do it in a
query, and I promise to print it.

TYIA.

Don.

 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      1st Apr 2010
It's rarely necessary or a good idea to store a calculated value like this.
Instead, use a query.

You could:

* create a new query in design view
* add the table(s) that has these fields
* create a new output field, perhaps like: NewField: [FName] & " " &
[LName]

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"PlarfySoober" <(E-Mail Removed)> wrote in message
news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> Somebody wrote on this forum recently how to do this. In a table or a
> query,
> maybe both, and it was really simple and clever but I failed to print it
> for
> my notes.
>
> Take <FName>+" "+ <LName>, call them by another name (field name?) so that
> when I create a report, I don't have to worry about where to place the
> elements of a name so they look smooth and all melody and fine.
>
> Is this possible in a mere table? If not, please how do you do it in a
> query, and I promise to print it.
>
> TYIA.
>
> Don.
>



 
Reply With Quote
 
PlarfySoober
Guest
Posts: n/a
 
      5th Apr 2010
Jeff Boyce,

Thanks very much. I think I understand, and it's just what I was looking
for. If I understand what an output field is, which i believe I do.

Don.

"Jeff Boyce" wrote:

> It's rarely necessary or a good idea to store a calculated value like this.
> Instead, use a query.
>
> You could:
>
> * create a new query in design view
> * add the table(s) that has these fields
> * create a new output field, perhaps like: NewField: [FName] & " " &
> [LName]
>
> Good luck!
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "PlarfySoober" <(E-Mail Removed)> wrote in message
> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> > Somebody wrote on this forum recently how to do this. In a table or a
> > query,
> > maybe both, and it was really simple and clever but I failed to print it
> > for
> > my notes.
> >
> > Take <FName>+" "+ <LName>, call them by another name (field name?) so that
> > when I create a report, I don't have to worry about where to place the
> > elements of a name so they look smooth and all melody and fine.
> >
> > Is this possible in a mere table? If not, please how do you do it in a
> > query, and I promise to print it.
> >
> > TYIA.
> >
> > Don.
> >

>
>
> .
>

 
Reply With Quote
 
PlarfySoober
Guest
Posts: n/a
 
      6th Apr 2010
Jeff Boyce,

Seems I don't understand after all.

I tried to create a new field:

Field: WholeName: [FirstName] & " " & [LastName]
Table: Employee List A
Sort:
Show: (v)
Criteria:

But the system changed the field to "LastName". So I don't get where to put
the text you suggested, or how.

Thanks again for following up.

Don.


"Jeff Boyce" wrote:

> It's rarely necessary or a good idea to store a calculated value like this.
> Instead, use a query.
>
> You could:
>
> * create a new query in design view
> * add the table(s) that has these fields
> * create a new output field, perhaps like: NewField: [FName] & " " &
> [LName]
>
> Good luck!
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "PlarfySoober" <(E-Mail Removed)> wrote in message
> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> > Somebody wrote on this forum recently how to do this. In a table or a
> > query,
> > maybe both, and it was really simple and clever but I failed to print it
> > for
> > my notes.
> >
> > Take <FName>+" "+ <LName>, call them by another name (field name?) so that
> > when I create a report, I don't have to worry about where to place the
> > elements of a name so they look smooth and all melody and fine.
> >
> > Is this possible in a mere table? If not, please how do you do it in a
> > query, and I promise to print it.
> >
> > TYIA.
> >
> > Don.
> >

>
>
> .
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      6th Apr 2010
Where are you doing this? If in a query, please post the SQL statement of
that query.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"PlarfySoober" <(E-Mail Removed)> wrote in message
news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
> Jeff Boyce,
>
> Seems I don't understand after all.
>
> I tried to create a new field:
>
> Field: WholeName: [FirstName] & " " & [LastName]
> Table: Employee List A
> Sort:
> Show: (v)
> Criteria:
>
> But the system changed the field to "LastName". So I don't get where to
> put
> the text you suggested, or how.
>
> Thanks again for following up.
>
> Don.
>
>
> "Jeff Boyce" wrote:
>
>> It's rarely necessary or a good idea to store a calculated value like
>> this.
>> Instead, use a query.
>>
>> You could:
>>
>> * create a new query in design view
>> * add the table(s) that has these fields
>> * create a new output field, perhaps like: NewField: [FName] & " " &
>> [LName]
>>
>> Good luck!
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Access MVP
>>
>> --
>> Disclaimer: This author may have received products and services mentioned
>> in this post. Mention and/or description of a product or service herein
>> does not constitute endorsement thereof.
>>
>> Any code or pseudocode included in this post is offered "as is", with no
>> guarantee as to suitability.
>>
>> You can thank the FTC of the USA for making this disclaimer
>> possible/necessary.
>>
>> "PlarfySoober" <(E-Mail Removed)> wrote in message
>> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
>> > Somebody wrote on this forum recently how to do this. In a table or a
>> > query,
>> > maybe both, and it was really simple and clever but I failed to print
>> > it
>> > for
>> > my notes.
>> >
>> > Take <FName>+" "+ <LName>, call them by another name (field name?) so
>> > that
>> > when I create a report, I don't have to worry about where to place the
>> > elements of a name so they look smooth and all melody and fine.
>> >
>> > Is this possible in a mere table? If not, please how do you do it in a
>> > query, and I promise to print it.
>> >
>> > TYIA.
>> >
>> > Don.
>> >

>>
>>
>> .
>>



 
Reply With Quote
 
PlarfySoober
Guest
Posts: n/a
 
      6th Apr 2010
Jeff Boyce,

I'm doing it in the Design View. Here is the SQL view, without the changes
of course.

SELECT [Employee List A].Employee_First, [Employee List A].Employee_Last,
Month([Date_of_Birth]) AS Expr1, [Employee List A].Part_Full, [Employee List
A].Date_of_Birth, Day([Date_of_Birth]) AS Expr2
FROM [Employee List A]
WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List A].Part_Full)="F")
AND (([Employee List A].[Termination Date]) Is Null));

Don.


"Jeff Boyce" wrote:

> Where are you doing this? If in a query, please post the SQL statement of
> that query.
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "PlarfySoober" <(E-Mail Removed)> wrote in message
> news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
> > Jeff Boyce,
> >
> > Seems I don't understand after all.
> >
> > I tried to create a new field:
> >
> > Field: WholeName: [FirstName] & " " & [LastName]
> > Table: Employee List A
> > Sort:
> > Show: (v)
> > Criteria:
> >
> > But the system changed the field to "LastName". So I don't get where to
> > put
> > the text you suggested, or how.
> >
> > Thanks again for following up.
> >
> > Don.
> >
> >
> > "Jeff Boyce" wrote:
> >
> >> It's rarely necessary or a good idea to store a calculated value like
> >> this.
> >> Instead, use a query.
> >>
> >> You could:
> >>
> >> * create a new query in design view
> >> * add the table(s) that has these fields
> >> * create a new output field, perhaps like: NewField: [FName] & " " &
> >> [LName]
> >>
> >> Good luck!
> >>
> >> Regards
> >>
> >> Jeff Boyce
> >> Microsoft Access MVP
> >>
> >> --
> >> Disclaimer: This author may have received products and services mentioned
> >> in this post. Mention and/or description of a product or service herein
> >> does not constitute endorsement thereof.
> >>
> >> Any code or pseudocode included in this post is offered "as is", with no
> >> guarantee as to suitability.
> >>
> >> You can thank the FTC of the USA for making this disclaimer
> >> possible/necessary.
> >>
> >> "PlarfySoober" <(E-Mail Removed)> wrote in message
> >> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> >> > Somebody wrote on this forum recently how to do this. In a table or a
> >> > query,
> >> > maybe both, and it was really simple and clever but I failed to print
> >> > it
> >> > for
> >> > my notes.
> >> >
> >> > Take <FName>+" "+ <LName>, call them by another name (field name?) so
> >> > that
> >> > when I create a report, I don't have to worry about where to place the
> >> > elements of a name so they look smooth and all melody and fine.
> >> >
> >> > Is this possible in a mere table? If not, please how do you do it in a
> >> > query, and I promise to print it.
> >> >
> >> > TYIA.
> >> >
> >> > Don.
> >> >
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      7th Apr 2010
If you don't include the most recent changes, it's going to be tough
spotting what might not be working correctly...

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"PlarfySoober" <(E-Mail Removed)> wrote in message
news:48D8E56F-1B6D-4EEE-9AAB-(E-Mail Removed)...
> Jeff Boyce,
>
> I'm doing it in the Design View. Here is the SQL view, without the changes
> of course.
>
> SELECT [Employee List A].Employee_First, [Employee List A].Employee_Last,
> Month([Date_of_Birth]) AS Expr1, [Employee List A].Part_Full, [Employee
> List
> A].Date_of_Birth, Day([Date_of_Birth]) AS Expr2
> FROM [Employee List A]
> WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List
> A].Part_Full)="F")
> AND (([Employee List A].[Termination Date]) Is Null));
>
> Don.
>
>
> "Jeff Boyce" wrote:
>
>> Where are you doing this? If in a query, please post the SQL statement
>> of
>> that query.
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Access MVP
>>
>> --
>> Disclaimer: This author may have received products and services mentioned
>> in this post. Mention and/or description of a product or service herein
>> does not constitute endorsement thereof.
>>
>> Any code or pseudocode included in this post is offered "as is", with no
>> guarantee as to suitability.
>>
>> You can thank the FTC of the USA for making this disclaimer
>> possible/necessary.
>>
>> "PlarfySoober" <(E-Mail Removed)> wrote in message
>> news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
>> > Jeff Boyce,
>> >
>> > Seems I don't understand after all.
>> >
>> > I tried to create a new field:
>> >
>> > Field: WholeName: [FirstName] & " " & [LastName]
>> > Table: Employee List A
>> > Sort:
>> > Show: (v)
>> > Criteria:
>> >
>> > But the system changed the field to "LastName". So I don't get where to
>> > put
>> > the text you suggested, or how.
>> >
>> > Thanks again for following up.
>> >
>> > Don.
>> >
>> >
>> > "Jeff Boyce" wrote:
>> >
>> >> It's rarely necessary or a good idea to store a calculated value like
>> >> this.
>> >> Instead, use a query.
>> >>
>> >> You could:
>> >>
>> >> * create a new query in design view
>> >> * add the table(s) that has these fields
>> >> * create a new output field, perhaps like: NewField: [FName] & " "
>> >> &
>> >> [LName]
>> >>
>> >> Good luck!
>> >>
>> >> Regards
>> >>
>> >> Jeff Boyce
>> >> Microsoft Access MVP
>> >>
>> >> --
>> >> Disclaimer: This author may have received products and services
>> >> mentioned
>> >> in this post. Mention and/or description of a product or service
>> >> herein
>> >> does not constitute endorsement thereof.
>> >>
>> >> Any code or pseudocode included in this post is offered "as is", with
>> >> no
>> >> guarantee as to suitability.
>> >>
>> >> You can thank the FTC of the USA for making this disclaimer
>> >> possible/necessary.
>> >>
>> >> "PlarfySoober" <(E-Mail Removed)> wrote in
>> >> message
>> >> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
>> >> > Somebody wrote on this forum recently how to do this. In a table or
>> >> > a
>> >> > query,
>> >> > maybe both, and it was really simple and clever but I failed to
>> >> > print
>> >> > it
>> >> > for
>> >> > my notes.
>> >> >
>> >> > Take <FName>+" "+ <LName>, call them by another name (field name?)
>> >> > so
>> >> > that
>> >> > when I create a report, I don't have to worry about where to place
>> >> > the
>> >> > elements of a name so they look smooth and all melody and fine.
>> >> >
>> >> > Is this possible in a mere table? If not, please how do you do it in
>> >> > a
>> >> > query, and I promise to print it.
>> >> >
>> >> > TYIA.
>> >> >
>> >> > Don.
>> >> >
>> >>
>> >>
>> >> .
>> >>

>>
>>
>> .
>>



 
Reply With Quote
 
John Spencer
Guest
Posts: n/a
 
      7th Apr 2010
SELECT [Employee List A].Employee_First
, [Employee List A].Employee_Last
, [Employee_First] & " " & [Employee_Last] as FullName
, Month([Date_of_Birth]) AS Expr1
, [Employee List A].Part_Full
, [Employee List A].Date_of_Birth
, Day([Date_of_Birth]) AS Expr2
FROM [Employee List A]
WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List A].Part_Full)="F")
AND (([Employee List A].[Termination Date]) Is Null));

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

PlarfySoober wrote:
> Jeff Boyce,
>
> I'm doing it in the Design View. Here is the SQL view, without the changes
> of course.
>
> SELECT [Employee List A].Employee_First, [Employee List A].Employee_Last,
> Month([Date_of_Birth]) AS Expr1, [Employee List A].Part_Full, [Employee List
> A].Date_of_Birth, Day([Date_of_Birth]) AS Expr2
> FROM [Employee List A]
> WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List A].Part_Full)="F")
> AND (([Employee List A].[Termination Date]) Is Null));
>
> Don.
>
>
> "Jeff Boyce" wrote:
>
>> Where are you doing this? If in a query, please post the SQL statement of
>> that query.
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Access MVP
>>
>> --
>> Disclaimer: This author may have received products and services mentioned
>> in this post. Mention and/or description of a product or service herein
>> does not constitute endorsement thereof.
>>
>> Any code or pseudocode included in this post is offered "as is", with no
>> guarantee as to suitability.
>>
>> You can thank the FTC of the USA for making this disclaimer
>> possible/necessary.
>>
>> "PlarfySoober" <(E-Mail Removed)> wrote in message
>> news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
>>> Jeff Boyce,
>>>
>>> Seems I don't understand after all.
>>>
>>> I tried to create a new field:
>>>
>>> Field: WholeName: [FirstName] & " " & [LastName]
>>> Table: Employee List A
>>> Sort:
>>> Show: (v)
>>> Criteria:
>>>
>>> But the system changed the field to "LastName". So I don't get where to
>>> put
>>> the text you suggested, or how.
>>>
>>> Thanks again for following up.
>>>
>>> Don.
>>>
>>>
>>> "Jeff Boyce" wrote:
>>>
>>>> It's rarely necessary or a good idea to store a calculated value like
>>>> this.
>>>> Instead, use a query.
>>>>
>>>> You could:
>>>>
>>>> * create a new query in design view
>>>> * add the table(s) that has these fields
>>>> * create a new output field, perhaps like: NewField: [FName] & " " &
>>>> [LName]
>>>>
>>>> Good luck!
>>>>
>>>> Regards
>>>>
>>>> Jeff Boyce
>>>> Microsoft Access MVP
>>>>
>>>> --
>>>> Disclaimer: This author may have received products and services mentioned
>>>> in this post. Mention and/or description of a product or service herein
>>>> does not constitute endorsement thereof.
>>>>
>>>> Any code or pseudocode included in this post is offered "as is", with no
>>>> guarantee as to suitability.
>>>>
>>>> You can thank the FTC of the USA for making this disclaimer
>>>> possible/necessary.
>>>>
>>>> "PlarfySoober" <(E-Mail Removed)> wrote in message
>>>> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
>>>>> Somebody wrote on this forum recently how to do this. In a table or a
>>>>> query,
>>>>> maybe both, and it was really simple and clever but I failed to print
>>>>> it
>>>>> for
>>>>> my notes.
>>>>>
>>>>> Take <FName>+" "+ <LName>, call them by another name (field name?) so
>>>>> that
>>>>> when I create a report, I don't have to worry about where to place the
>>>>> elements of a name so they look smooth and all melody and fine.
>>>>>
>>>>> Is this possible in a mere table? If not, please how do you do it in a
>>>>> query, and I promise to print it.
>>>>>
>>>>> TYIA.
>>>>>
>>>>> Don.
>>>>>
>>>>
>>>> .
>>>>

>>
>> .
>>

 
Reply With Quote
 
PlarfySoober
Guest
Posts: n/a
 
      7th Apr 2010
John Spencer,

Simple when you see it done.

Thanks, the solution works perfectly, and delivers the results I want. Life
is good.

Don.

"John Spencer" wrote:

> SELECT [Employee List A].Employee_First
> , [Employee List A].Employee_Last
> , [Employee_First] & " " & [Employee_Last] as FullName
> , Month([Date_of_Birth]) AS Expr1
> , [Employee List A].Part_Full
> , [Employee List A].Date_of_Birth
> , Day([Date_of_Birth]) AS Expr2
> FROM [Employee List A]
> WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List A].Part_Full)="F")
> AND (([Employee List A].[Termination Date]) Is Null));
>
> John Spencer
> Access MVP 2002-2005, 2007-2010
> The Hilltop Institute
> University of Maryland Baltimore County
>
> PlarfySoober wrote:
> > Jeff Boyce,
> >
> > I'm doing it in the Design View. Here is the SQL view, without the changes
> > of course.
> >
> > SELECT [Employee List A].Employee_First, [Employee List A].Employee_Last,
> > Month([Date_of_Birth]) AS Expr1, [Employee List A].Part_Full, [Employee List
> > A].Date_of_Birth, Day([Date_of_Birth]) AS Expr2
> > FROM [Employee List A]
> > WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List A].Part_Full)="F")
> > AND (([Employee List A].[Termination Date]) Is Null));
> >
> > Don.
> >
> >
> > "Jeff Boyce" wrote:
> >
> >> Where are you doing this? If in a query, please post the SQL statement of
> >> that query.
> >>
> >> Regards
> >>
> >> Jeff Boyce
> >> Microsoft Access MVP
> >>
> >> --
> >> Disclaimer: This author may have received products and services mentioned
> >> in this post. Mention and/or description of a product or service herein
> >> does not constitute endorsement thereof.
> >>
> >> Any code or pseudocode included in this post is offered "as is", with no
> >> guarantee as to suitability.
> >>
> >> You can thank the FTC of the USA for making this disclaimer
> >> possible/necessary.
> >>
> >> "PlarfySoober" <(E-Mail Removed)> wrote in message
> >> news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
> >>> Jeff Boyce,
> >>>
> >>> Seems I don't understand after all.
> >>>
> >>> I tried to create a new field:
> >>>
> >>> Field: WholeName: [FirstName] & " " & [LastName]
> >>> Table: Employee List A
> >>> Sort:
> >>> Show: (v)
> >>> Criteria:
> >>>
> >>> But the system changed the field to "LastName". So I don't get where to
> >>> put
> >>> the text you suggested, or how.
> >>>
> >>> Thanks again for following up.
> >>>
> >>> Don.
> >>>
> >>>
> >>> "Jeff Boyce" wrote:
> >>>
> >>>> It's rarely necessary or a good idea to store a calculated value like
> >>>> this.
> >>>> Instead, use a query.
> >>>>
> >>>> You could:
> >>>>
> >>>> * create a new query in design view
> >>>> * add the table(s) that has these fields
> >>>> * create a new output field, perhaps like: NewField: [FName] & " " &
> >>>> [LName]
> >>>>
> >>>> Good luck!
> >>>>
> >>>> Regards
> >>>>
> >>>> Jeff Boyce
> >>>> Microsoft Access MVP
> >>>>
> >>>> --
> >>>> Disclaimer: This author may have received products and services mentioned
> >>>> in this post. Mention and/or description of a product or service herein
> >>>> does not constitute endorsement thereof.
> >>>>
> >>>> Any code or pseudocode included in this post is offered "as is", with no
> >>>> guarantee as to suitability.
> >>>>
> >>>> You can thank the FTC of the USA for making this disclaimer
> >>>> possible/necessary.
> >>>>
> >>>> "PlarfySoober" <(E-Mail Removed)> wrote in message
> >>>> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> >>>>> Somebody wrote on this forum recently how to do this. In a table or a
> >>>>> query,
> >>>>> maybe both, and it was really simple and clever but I failed to print
> >>>>> it
> >>>>> for
> >>>>> my notes.
> >>>>>
> >>>>> Take <FName>+" "+ <LName>, call them by another name (field name?) so
> >>>>> that
> >>>>> when I create a report, I don't have to worry about where to place the
> >>>>> elements of a name so they look smooth and all melody and fine.
> >>>>>
> >>>>> Is this possible in a mere table? If not, please how do you do it in a
> >>>>> query, and I promise to print it.
> >>>>>
> >>>>> TYIA.
> >>>>>
> >>>>> Don.
> >>>>>
> >>>>
> >>>> .
> >>>>
> >>
> >> .
> >>

> .
>

 
Reply With Quote
 
PlarfySoober
Guest
Posts: n/a
 
      7th Apr 2010
Jeff Boyce,

Thanks for sticking with this. The solution is now clear.

Don.

"Jeff Boyce" wrote:

> If you don't include the most recent changes, it's going to be tough
> spotting what might not be working correctly...
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "PlarfySoober" <(E-Mail Removed)> wrote in message
> news:48D8E56F-1B6D-4EEE-9AAB-(E-Mail Removed)...
> > Jeff Boyce,
> >
> > I'm doing it in the Design View. Here is the SQL view, without the changes
> > of course.
> >
> > SELECT [Employee List A].Employee_First, [Employee List A].Employee_Last,
> > Month([Date_of_Birth]) AS Expr1, [Employee List A].Part_Full, [Employee
> > List
> > A].Date_of_Birth, Day([Date_of_Birth]) AS Expr2
> > FROM [Employee List A]
> > WHERE (((Month([Date_of_Birth]))=4) AND (([Employee List
> > A].Part_Full)="F")
> > AND (([Employee List A].[Termination Date]) Is Null));
> >
> > Don.
> >
> >
> > "Jeff Boyce" wrote:
> >
> >> Where are you doing this? If in a query, please post the SQL statement
> >> of
> >> that query.
> >>
> >> Regards
> >>
> >> Jeff Boyce
> >> Microsoft Access MVP
> >>
> >> --
> >> Disclaimer: This author may have received products and services mentioned
> >> in this post. Mention and/or description of a product or service herein
> >> does not constitute endorsement thereof.
> >>
> >> Any code or pseudocode included in this post is offered "as is", with no
> >> guarantee as to suitability.
> >>
> >> You can thank the FTC of the USA for making this disclaimer
> >> possible/necessary.
> >>
> >> "PlarfySoober" <(E-Mail Removed)> wrote in message
> >> news:0E12FE59-79E2-4A6F-B6FB-(E-Mail Removed)...
> >> > Jeff Boyce,
> >> >
> >> > Seems I don't understand after all.
> >> >
> >> > I tried to create a new field:
> >> >
> >> > Field: WholeName: [FirstName] & " " & [LastName]
> >> > Table: Employee List A
> >> > Sort:
> >> > Show: (v)
> >> > Criteria:
> >> >
> >> > But the system changed the field to "LastName". So I don't get where to
> >> > put
> >> > the text you suggested, or how.
> >> >
> >> > Thanks again for following up.
> >> >
> >> > Don.
> >> >
> >> >
> >> > "Jeff Boyce" wrote:
> >> >
> >> >> It's rarely necessary or a good idea to store a calculated value like
> >> >> this.
> >> >> Instead, use a query.
> >> >>
> >> >> You could:
> >> >>
> >> >> * create a new query in design view
> >> >> * add the table(s) that has these fields
> >> >> * create a new output field, perhaps like: NewField: [FName] & " "
> >> >> &
> >> >> [LName]
> >> >>
> >> >> Good luck!
> >> >>
> >> >> Regards
> >> >>
> >> >> Jeff Boyce
> >> >> Microsoft Access MVP
> >> >>
> >> >> --
> >> >> Disclaimer: This author may have received products and services
> >> >> mentioned
> >> >> in this post. Mention and/or description of a product or service
> >> >> herein
> >> >> does not constitute endorsement thereof.
> >> >>
> >> >> Any code or pseudocode included in this post is offered "as is", with
> >> >> no
> >> >> guarantee as to suitability.
> >> >>
> >> >> You can thank the FTC of the USA for making this disclaimer
> >> >> possible/necessary.
> >> >>
> >> >> "PlarfySoober" <(E-Mail Removed)> wrote in
> >> >> message
> >> >> news:AB227CD3-82A5-40B2-93C3-(E-Mail Removed)...
> >> >> > Somebody wrote on this forum recently how to do this. In a table or
> >> >> > a
> >> >> > query,
> >> >> > maybe both, and it was really simple and clever but I failed to
> >> >> > print
> >> >> > it
> >> >> > for
> >> >> > my notes.
> >> >> >
> >> >> > Take <FName>+" "+ <LName>, call them by another name (field name?)
> >> >> > so
> >> >> > that
> >> >> > when I create a report, I don't have to worry about where to place
> >> >> > the
> >> >> > elements of a name so they look smooth and all melody and fine.
> >> >> >
> >> >> > Is this possible in a mere table? If not, please how do you do it in
> >> >> > a
> >> >> > query, and I promise to print it.
> >> >> >
> >> >> > TYIA.
> >> >> >
> >> >> > Don.
> >> >> >
> >> >>
> >> >>
> >> >> .
> >> >>
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining data from two fields into one field C Parkins Microsoft Access 5 10th Jun 2008 03:03 PM
combining two or more fields into one field =?Utf-8?B?ZGF2aWQgZA==?= Microsoft Access Form Coding 6 26th May 2007 06:51 AM
Calculated fields: Display Sum() of field X where FIELD Y is blah - please help pilch74@gmail.com Microsoft Access Queries 4 17th May 2007 02:20 PM
Calculated fields processing on another calculated field =?Utf-8?B?Sm9obg==?= Microsoft Access Forms 2 14th Jan 2004 01:12 AM
Combining two fields into one field Wayne Microsoft Access Form Coding 2 15th Oct 2003 09:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 PM.