473,569 Members | 2,634 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Combining the information from 3 fields into one field

Dear Access Gurus,

Can anyone provide me with some much needed assistance.
I would like to combine the contents of 3 text fields into one field. Can
someone provide some code or a method to do so.

Please and Thanks

Omey
Nov 13 '05 #1
4 3120
Can you be mroe specifc? combine them how, produce a concatenated string?
Combine them for output only, or pupulate a new field? Can any of the
original fields be Null? If so, what should be the effect on the combined
result?

On Tue, 4 Jan 2005 19:48:48 -0500, "Omey Samaroo" <os******@roger s.com> wrote:
Dear Access Gurus,

Can anyone provide me with some much needed assistance.
I would like to combine the contents of 3 text fields into one field. Can
someone provide some code or a method to do so.

Please and Thanks

Omey


Nov 13 '05 #2
I am attempting to export the information from one database (call it
Employees) so that it can then be import it another Access Database
(Business).
In the database that I am attempting to import the data to, the address
field contains Street name, City, and Province in one field called Address.
In the next database the same information exist as three separate fields.
What I would like to do is combine the information from the three separate
fields in a query, without modifying the database and export it to an excel
spreadsheet.

Most of the work is done except combining the three text fields.

(It would be nice to have the contents of each field end with a comma)
Please feel free to ask any our clarifying questions, Steve (or anyone else
who has a suggestion)

Thanks

Omey

From this database I would like to combine the information and export it as
one field, without modifing the design of the database and and posnd
database, which is being import database both in which has the address
field as one
"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:3i******** *************** *********@4ax.c om...
Can you be mroe specifc? combine them how, produce a concatenated string?
Combine them for output only, or pupulate a new field? Can any of the
original fields be Null? If so, what should be the effect on the combined
result?

On Tue, 4 Jan 2005 19:48:48 -0500, "Omey Samaroo" <os******@roger s.com> wrote:
Dear Access Gurus,

Can anyone provide me with some much needed assistance.
I would like to combine the contents of 3 text fields into one field. Can
someone provide some code or a method to do so.

Please and Thanks

Omey

Nov 13 '05 #3
You'll want to make a query that includes the computed result, then export the
query. In your query, have a field defined as something like the following:

Address: [tblAddress].[StreetNumber] & ", " & [tblAddress].[StreetName] & ", "
& [tblAddress].[Province]

On Tue, 4 Jan 2005 20:18:45 -0500, "Omey Samaroo" <os******@roger s.com> wrote:
I am attempting to export the information from one database (call it
Employees) so that it can then be import it another Access Database
(Business).
In the database that I am attempting to import the data to, the address
field contains Street name, City, and Province in one field called Address.
In the next database the same information exist as three separate fields.
What I would like to do is combine the information from the three separate
fields in a query, without modifying the database and export it to an excel
spreadsheet.

Most of the work is done except combining the three text fields.

(It would be nice to have the contents of each field end with a comma)
Please feel free to ask any our clarifying questions, Steve (or anyone else
who has a suggestion)

Thanks

Omey

From this database I would like to combine the information and export it as
one field, without modifing the design of the database and and posnd
database, which is being import database both in which has the address
field as one
"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:3i******* *************** **********@4ax. com...
Can you be mroe specifc? combine them how, produce a concatenated string?
Combine them for output only, or pupulate a new field? Can any of the
original fields be Null? If so, what should be the effect on the combined
result?

On Tue, 4 Jan 2005 19:48:48 -0500, "Omey Samaroo" <os******@roger s.com>

wrote:
>Dear Access Gurus,
>
>Can anyone provide me with some much needed assistance.
>I would like to combine the contents of 3 text fields into one field. Can
>someone provide some code or a method to do so.
>
>Please and Thanks
>
>Omey
>


Nov 13 '05 #4
Steve,this is exactly what I wanted, I tried it and it works.
Thanks for taking the time to read and respond to my question. Your answer
made my day.

Omey

"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:fc******** *************** *********@4ax.c om...
You'll want to make a query that includes the computed result, then export the query. In your query, have a field defined as something like the following:
Address: [tblAddress].[StreetNumber] & ", " & [tblAddress].[StreetName] & ", " & [tblAddress].[Province]

On Tue, 4 Jan 2005 20:18:45 -0500, "Omey Samaroo" <os******@roger s.com> wrote:
I am attempting to export the information from one database (call it
Employees) so that it can then be import it another Access Database
(Business).
In the database that I am attempting to import the data to, the address
field contains Street name, City, and Province in one field called Address.In the next database the same information exist as three separate fields.
What I would like to do is combine the information from the three separatefields in a query, without modifying the database and export it to an excelspreadsheet.

Most of the work is done except combining the three text fields.

(It would be nice to have the contents of each field end with a comma)
Please feel free to ask any our clarifying questions, Steve (or anyone elsewho has a suggestion)

Thanks

Omey

From this database I would like to combine the information and export it asone field, without modifing the design of the database and and posnd
database, which is being import database both in which has the address
field as one
"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:3i******* *************** **********@4ax. com...
Can you be mroe specifc? combine them how, produce a concatenated string? Combine them for output only, or pupulate a new field? Can any of the
original fields be Null? If so, what should be the effect on the combined result?

On Tue, 4 Jan 2005 19:48:48 -0500, "Omey Samaroo" <os******@roger s.com>

wrote:

>Dear Access Gurus,
>
>Can anyone provide me with some much needed assistance.
>I would like to combine the contents of 3 text fields into one field. Can >someone provide some code or a method to do so.
>
>Please and Thanks
>
>Omey
>

Nov 13 '05 #5

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

Similar topics

8
8342
by: Ilan | last post by:
Hi all I need to add data from two Excel sheets (both on the same workbook) to an existing table in my SQL DB. The problem is that each sheet holds different fields for the same record, though the records are sorted by row numbers. (I had to split the fields to different sheets because Excel has a limit of 256 fields in each sheet) My...
2
4705
by: Kristian | last post by:
Hey, I have some problems combining 2 fields in a query. For example: the first field is "1050-04" and the second field is "02". However, when i try to combine these two the zero in the second field disappears. So it reads "1050-042" but i want it to be "1050-0402". The number 02 increases, so when it reaches 10+ it should be like...
5
2098
by: M.Stanley | last post by:
Hi, I'm attempting to create a query that will combine 2 columns of numbers into one. The followng comes from 1 table with 4 fields (A,B,C,D) A B RESULT 700 000 700000 700 001 700001 700 002 700002 ..
1
1482
by: Scott | last post by:
This is probably something really easy, Well I hope anyhow. I have three fields used for barcoding, in one table F1, F2 and F3. I want the three fields to be able to be combined to complete an EAN13 barcode. (F1=2 digits, F2 and F3 = 5 digits each. Totaling 12 digits. EAN13 assigns the 13th digit) From there, I need to then be able to...
4
3488
by: justin tyme | last post by:
Hello Experts! I would like to combine (which may not be the correct technical term) two text fields from the same table in a query. Specifically, text field A and text field B are both lists of names. My goal is to have one long list of all the names, not A next to B like one gets when you use the & operator. The eventual goal is to be...
3
2276
by: travellinman | last post by:
Hi, I'm trying to combine the text in two original fields and paste them into another 3rd field on a form, but the problem is that there are leading zeros in both original fields, which access does not copy into the 3rd field. For example, if field 1 = 07 and field 2 = 0001, i'd like the 3rd field to be 070001, but instead access returns 71 in...
2
2541
by: rpeacock | last post by:
I have a function that takes a field with values separated by commas within the field and splits them to multiple rows. Example: Field - Interior Value - abc,def,efg,ghi Output: ID Item 1 abc 2 def
10
10580
by: H | last post by:
Hi, I have the following address fields in a table: flat_number house_name_or_number street village postal_town county postcode
3
2830
by: Ken Fine | last post by:
This is a question that someone familiar with ASP.NET and ADO.NET DataSets and DataTables should be able to answer fairly easily. The basic question is how I can efficiently match data from one dataset to data in a second dataset, using a common key. I will first describe the problem in words and then I will show my code, which has most of the...
0
7701
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7677
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2115
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 we have to send another system

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.