473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 3103
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******@rogers.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.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******@rogers.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******@rogers.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******@rogers.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.com...
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******@rogers.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******@rogers.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
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...
2
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...
5
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 ...
1
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...
4
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...
3
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...
2
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 ...
10
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
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.