473,473 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Merge fields from Table in Report

Wrong e-mail in previous message:

Hi, does anybody know how to merge two fields into one in a Report?
Specifically I have a scenario where I want to make a report which contains
both first name and last name and show both fields in one box.

I can of course make a new column in the table, and merge the first and last
names there, but it must be a way to do this directly in the Report as well.

Any thoughts?

Sven
Nov 12 '05 #1
4 9416
"Sven Seljom" <sv**@seljom.no> wrote in message
news:3p******************@news4.e.nsc.no...
Wrong e-mail in previous message:

Hi, does anybody know how to merge two fields into one in a Report?
Specifically I have a scenario where I want to make a report which contains
both first name and last name and show both fields in one box.

I can of course make a new column in the table, and merge the first and last
names there, but it must be a way to do this directly in the Report as well.


Drop a new TextBox on the report with a ControlSource of...

=[FirstNameField] & " " & [LastNameField]

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
Thanks Rick!

I get an #Error in return when I do this. The fields show up fine one by
one, bur when I join them with & it won't work.

Sven
Nov 12 '05 #3
"Sven Seljom" <sv**@seljom.no> wrote in message
news:ne******************@news4.e.nsc.no...
Thanks Rick!

I get an #Error in return when I do this. The fields show up fine one by
one, bur when I join them with & it won't work.


Make sure the control's name is not the same as either of the field names in the
expression.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #4
Quite,

I got it to work now. You where right, in the first place. What I didn't do
though was to include the name of the table. When I did that it worked:

[tblCustomer!firstName]& " " &[tblCustomer!lastName] it worked beautifully.

Thanks again!

Sven
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
2
by: Private Pyle | last post by:
AIX 5.1, DB2 8.1.3 64-bit ESE 5 partitions 1 catalog, 4 data. I have a situation where I have to update 269,000,000 rows in a table with the value in another table with just about the same number...
0
by: Sven Seljom | last post by:
Hi, does anybody know how to merge two fields into one in a Report? Specifically I have a scenario where I want to make a report which contains both first name and last name and show both fields in...
3
by: Traci | last post by:
I need to do a mail merge letter from my database. The letter will be addressed to small companies and in the body of the letter I need to list employees of the company. There will be from 1 to 15...
0
by: beerman | last post by:
I have developed an app (in Access 2002) that dynamically creates a table, and the fields in that table, for propagation based on the max number of occurences in a reference table. Basically, it...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
0
by: Emily Jones | last post by:
The client needs mail merge. It's a database for a training company. Sometimes a paragraph, sentence or whatever might be present/absent/different depending on what sort of course it is, what sort...
6
by: crealesmith | last post by:
Firstly, I have no problem with mail merging to Word, VB code for that works perfectly. On one mail merge I need to merge 15 fields of data that are from 3 seperate records. The 3 records are all...
3
tdw
by: tdw | last post by:
Hi all, I am trying to create an Access database for use purely as a more efficient way to enter fields into a Mail Merge for a friend who is an attorney. Currently, I am using Word's mail...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.