A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Show Multiple fields in 1 text box?



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2007, 07:50 PM posted to microsoft.public.access.reports
John
external usenet poster
 
Posts: 73
Default Show Multiple fields in 1 text box?

Hi
I have done this befor but cannot remember how to do it.
I have 2 fields [FirstName] and [LastName]
How do I show both fields in 1 TextBox?

Kind Regards

John


  #2  
Old July 12th, 2007, 08:28 PM posted to microsoft.public.access.reports
Steve[_10_]
external usenet poster
 
Posts: 608
Default Show Multiple fields in 1 text box?

Base your form or report on a query and put the following expression in a
blank field:
FullName:[FirstName] & " " & [LastName]
On your form or report set the cpntrol source property of the tectbox to
FullName.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications





"John" wrote in message
...
Hi
I have done this befor but cannot remember how to do it.
I have 2 fields [FirstName] and [LastName]
How do I show both fields in 1 TextBox?

Kind Regards

John




  #3  
Old July 12th, 2007, 08:32 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Show Multiple fields in 1 text box?

[FirstName] & " " & [LastName]

--
KARL DEWEY
Build a little - Test a little


"John" wrote:

Hi
I have done this befor but cannot remember how to do it.
I have 2 fields [FirstName] and [LastName]
How do I show both fields in 1 TextBox?

Kind Regards

John


  #4  
Old July 12th, 2007, 08:48 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default Show Multiple fields in 1 text box?

On Thu, 12 Jul 2007 19:50:46 +0100, John wrote:

Hi
I have done this befor but cannot remember how to do it.
I have 2 fields [FirstName] and [LastName]
How do I show both fields in 1 TextBox?

Kind Regards

John


In your report, add an unbound text control.
Set it's control source to:
=[FirstName] & " " & [LastName]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #5  
Old July 12th, 2007, 09:35 PM posted to microsoft.public.access.reports
John
external usenet poster
 
Posts: 73
Default Show Multiple fields in 1 text box?

Thanks Guys,

Regards

John

"John" wrote in message
...
Hi
I have done this befor but cannot remember how to do it.
I have 2 fields [FirstName] and [LastName]
How do I show both fields in 1 TextBox?

Kind Regards

John



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.