PC Review


Reply
Thread Tools Rate Thread

Concantenate in Table

 
 
=?Utf-8?B?U3VwZQ==?=
Guest
Posts: n/a
 
      13th Oct 2006
Can a Field be made in a table that will concantenate two other fields in
that same table?
 
Reply With Quote
 
 
 
 
Rick B
Guest
Posts: n/a
 
      13th Oct 2006
Yes, but you would not need to store the concatenation in the table. That
would be redundant. Store the various items in the table, then perform the
concatenation in your queries, reports, and forms.

--
Rick B



"Supe" <(E-Mail Removed)> wrote in message
news:B40956E0-0DC3-4CE3-BB02-(E-Mail Removed)...
> Can a Field be made in a table that will concantenate two other fields in
> that same table?



 
Reply With Quote
 
=?Utf-8?B?U3VwZQ==?=
Guest
Posts: n/a
 
      13th Oct 2006
I want to run an unmatched query wizard comparing two concantenated items
against this table so would like to concantenate in this table as well. Can
you tell me how?


"Rick B" wrote:

> Yes, but you would not need to store the concatenation in the table. That
> would be redundant. Store the various items in the table, then perform the
> concatenation in your queries, reports, and forms.
>
> --
> Rick B
>
>
>
> "Supe" <(E-Mail Removed)> wrote in message
> news:B40956E0-0DC3-4CE3-BB02-(E-Mail Removed)...
> > Can a Field be made in a table that will concantenate two other fields in
> > that same table?

>
>
>

 
Reply With Quote
 
Rick B
Guest
Posts: n/a
 
      13th Oct 2006
You can do that in your query. Create the concatenation in your unmatched
query. Post the exact field information and perhaps someone can give you
the exact syntax of the unmatched query using your examples.

--
Rick B



"Supe" <(E-Mail Removed)> wrote in message
news:8396CA76-2435-450E-A422-(E-Mail Removed)...
>I want to run an unmatched query wizard comparing two concantenated items
> against this table so would like to concantenate in this table as well.
> Can
> you tell me how?
>
>
> "Rick B" wrote:
>
>> Yes, but you would not need to store the concatenation in the table.
>> That
>> would be redundant. Store the various items in the table, then perform
>> the
>> concatenation in your queries, reports, and forms.
>>
>> --
>> Rick B
>>
>>
>>
>> "Supe" <(E-Mail Removed)> wrote in message
>> news:B40956E0-0DC3-4CE3-BB02-(E-Mail Removed)...
>> > Can a Field be made in a table that will concantenate two other fields
>> > in
>> > that same table?

>>
>>
>>



 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      13th Oct 2006
On Fri, 13 Oct 2006 14:00:02 -0700, Supe
<(E-Mail Removed)> wrote:

>I want to run an unmatched query wizard comparing two concantenated items
>against this table so would like to concantenate in this table as well. Can
>you tell me how?


You don't NEED to concatenate in order to do this.

Create a Query with the two tables. Join the first field in one table
to the first field in the other, and likewise for the second field.
(You can do this with up to ten fields if needed).

Select each Join line and choose Option 2 - "Show all records in
<master table> and matching records in <other table>".

Put a criterion on either or both join fields of

IS NULL

This query will show all records in the first table which lack any
match on these two fields in the second table.

John W. Vinson[MVP]
 
Reply With Quote
 
Larry Linson
Guest
Posts: n/a
 
      14th Oct 2006
"Supe" <(E-Mail Removed)> wrote

> Can a Field be made in a table that will concantenate
> two other fields in that same table?


You cannot define a Field in a Table to be a concatenation of anything --
that would be, in relational DB terms, trying to "commit spreadsheet". A
database is not just a bigger version of a spreadsheet. You can set the
value of a Field with a calculation in a Query, but all you store is the
result, and you'd have to rerun the Query if one of the Factor Fields were
changed.

As Rick has pointed out, that would be redundant storage of information. In
these days of inexpensive storage, the extra cost of the storage is not a
big deal, but the need for those recalculations certainly could be. My
experience is that it is not a matter of IF, but how soon the factors and
the result will not match and then you will have to determine which is
correct.

If you intend, as you say, to use a Query to compare a concatenation of two
Fields, you can, as easily, either compare the two Fields individually, or
include a calculated Field in the Query that concatenates them. The latter
is the "relational database way" -- don't store duplicated or redundant
data, and calculate values when you need them (even if the 'calculation' is
just a concatenation).

Larry Linson
Microsoft Access MVP


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I concantenate two columns for the length of a table? zach-18 Microsoft Excel Programming 3 12th Jun 2008 05:10 PM
How do I concantenate two columns in an Access table into one? =?Utf-8?B?YW15X2Rhcmxpbmc0NUBob3RtYWlsLmNvbQ==?= Microsoft Access 4 15th Feb 2006 07:16 PM
Possible Concantenate Karen Microsoft Excel Worksheet Functions 2 31st Jan 2004 01:52 PM
Concantenate using VBA? cornishbloke Microsoft Excel Programming 4 7th Jan 2004 04:12 PM
Concantenate Chuck Microsoft Excel Discussion 3 23rd Nov 2003 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 AM.