dbTalk Databases Forums  

Re: Combining the information from 3 fields into one field

comp.databases.ms-access comp.databases.ms-access


Discuss Re: Combining the information from 3 fields into one field in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Jorgensen
 
Posts: n/a

Default Re: Combining the information from 3 fields into one field - 01-04-2005 , 06:51 PM






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" <osamaroo (AT) rogers (DOT) com> wrote:

Quote:
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



Reply With Quote
  #2  
Old   
Steve Jorgensen
 
Posts: n/a

Default Re: Combining the information from 3 fields into one field - 01-04-2005 , 07:25 PM






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" <osamaroo (AT) rogers (DOT) com> wrote:

Quote:
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" <nospam (AT) nospam (DOT) nospam> wrote in message
news:3iemt0563dkp47diqvullhvpk6h26h3hfu (AT) 4ax (DOT) 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" <osamaroo (AT) rogers (DOT) 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





Reply With Quote
  #3  
Old   
Omey Samaroo
 
Posts: n/a

Default Re: Combining the information from 3 fields into one field - 01-04-2005 , 07:43 PM



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" <nospam (AT) nospam (DOT) nospam> wrote

Quote:
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" <osamaroo (AT) rogers (DOT) 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" <nospam (AT) nospam (DOT) nospam> wrote in message
news:3iemt0563dkp47diqvullhvpk6h26h3hfu (AT) 4ax (DOT) 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" <osamaroo (AT) rogers (DOT) 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







Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.