Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2007, 12:44 PM
Friend of Wrox
 
Join Date: Jan 2007
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scandalous Send a message via MSN to scandalous
Default Report: First and Last Names

I have the fields [FirstName] and [LastName] on my Reports I would like the to show up in one field is there a way to do this?

Thanks!

Antonio

 
Old February 12th, 2007, 12:47 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Certainly...

Just set the source of the field to

=[FirstName] & " " & [LastName]

Hope that helps,

Mike

Mike
EchoVue.com
 
Old February 12th, 2007, 01:07 PM
Friend of Wrox
 
Join Date: Jan 2007
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scandalous Send a message via MSN to scandalous
Default

hmmm this doesnt seem to be working and i am not sure why.

I tried:

-Deleting one of the boxes and inserting the control source-
-Inserting the Control source into both Boxes.
-putting the query source infront of the control source =[QuoteQuery].[Firstname] & " " & [QuoteQuery].[LastName]
- Tried doing the same thing with the table.

Any steps i am missing before changing the control source?

 
Old February 12th, 2007, 02:30 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default

Antonio,
Put an unbound textbox down, then into it type "= [firstname] & " " & [lastname]. Then hit enter.

Does that work? If not- What is the name of the datasource for lastname? And what is the name of the control it lastname is in in your form? Same for firstname?







 
Old February 12th, 2007, 02:38 PM
Friend of Wrox
 
Join Date: Jan 2007
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scandalous Send a message via MSN to scandalous
Default

Your my Hero!!!! Thats what it was! I think I need to stop using the wizard for things it makes it much harder to do.

You guys are the Bestest!






Similar Threads
Thread Thread Starter Forum Replies Last Post
2 names in a record michael193nj Access 4 March 19th, 2008 05:11 PM
Window Names panos Javascript How-To 2 February 10th, 2006 11:33 AM
To Many Names bachuss SQL Language 0 January 18th, 2006 12:40 PM
Table names arnabghosh SQL Server 2000 3 November 24th, 2005 10:01 AM
Constraint for names barkingstars Oracle 2 April 14th, 2004 01:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.