PC Review


Reply
Thread Tools Rate Thread

Convert between numbers and labels

 
 
=?Utf-8?B?Q2hhY2hv?=
Guest
Posts: n/a
 
      29th May 2007
Alright, here's the setup.
I have an index list (hereafter referred to as INDEX), which is a table with
one column of (unique) numbers, and another column of corresponding labels. I
have another table, hereafter referred to as INPUT, with a bunch of numbers.
What I want to do is have Access take the INPUT, and create a table (or
query, whatever) that will convert these numbers into their corresponding
lables from the INDEX. (I also need to be able to convert labels into
corresponding numbers, the exact opposite process.)
I have already tried using a query, and setting up a relationship between
the INPUT numbers and the INDEX numbers, and having the query output the
labels. The problem is, if a number in the INPUT is not listed in the INDEX,
then the entry just disappears from the query altogether. I would prefer that
the "unregistered" numbers simply stay as numbers in the column. This also
applies when doing the reverse: if the INPUT is a column of words instead,
and there is a word that is not in the INDEX, then just leave the word,
rather than converting it to a number.
All help is greatly appreciated!

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmVycnkgV2hpdHRsZQ==?=
Guest
Posts: n/a
 
      29th May 2007
You have an inner join between the two tables. In that case both tables need
a matching record for a query to return a record.

In query design view double-click on the line between the two tables until a
dialog box appears. Try the second option for the join (left join). If that
doesn't work, try the third option (right join).
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Chacho" wrote:

> Alright, here's the setup.
> I have an index list (hereafter referred to as INDEX), which is a table with
> one column of (unique) numbers, and another column of corresponding labels. I
> have another table, hereafter referred to as INPUT, with a bunch of numbers.
> What I want to do is have Access take the INPUT, and create a table (or
> query, whatever) that will convert these numbers into their corresponding
> lables from the INDEX. (I also need to be able to convert labels into
> corresponding numbers, the exact opposite process.)
> I have already tried using a query, and setting up a relationship between
> the INPUT numbers and the INDEX numbers, and having the query output the
> labels. The problem is, if a number in the INPUT is not listed in the INDEX,
> then the entry just disappears from the query altogether. I would prefer that
> the "unregistered" numbers simply stay as numbers in the column. This also
> applies when doing the reverse: if the INPUT is a column of words instead,
> and there is a word that is not in the INDEX, then just leave the word,
> rather than converting it to a number.
> All help is greatly appreciated!
>

 
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
Column labels show as numbers and Row labels show as numbers Dianne Griffin Microsoft Excel Misc 3 21st May 2010 10:30 PM
How do I convert wordperfect labels to word labels? =?Utf-8?B?SmltIEQ=?= Microsoft Word Document Management 2 15th Oct 2006 05:50 AM
Convert WordPerfect Labels to Word Labels Tonya Marshall Microsoft Word Document Management 3 30th Oct 2005 06:43 AM
Convert WordPerfect Labels to Word Labels Tonya Marshall Microsoft Word New Users 3 30th Oct 2005 06:43 AM
Can I convert WordPerfect 7 labels into Word 2003 labels? =?Utf-8?B?RG9yb3RoeQ==?= Microsoft Word Document Management 1 17th Feb 2005 02:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:38 AM.