473,396 Members | 2,158 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,396 software developers and data experts.

Complex Access Lookup Table Help

121 100+
I am trying to see is there is a way to lookup and update a field based on matching part of the contents of a field to a lookup table.

Example.

I have an "Error Description" field. And it adds codes to the field based on some queries.

So the field would look like: ACC-1, ACC-3, EXP-1

I want to know if I can change those codes to actual descriptions based on a lookup table.

So it would look like this: Missing Date, Missing Description, Invalid Cost

Or do lookup tables only work in matching the entire field contents.


Thanks
Feb 22 '07 #1
2 1856
maxamis4
295 Expert 100+
Have you tried using a like query. These seem to work very well for boolean logic. Like Examples Scroll towards the buttom to see the examples of like queries. Also please display the query you have now in order to be helped a little more.

thanks
Feb 22 '07 #2
JHNielson
121 100+
Thanks for the help.

I'm not sure how the Like Statement would work. I get how it would help me to find the records that have a certain error code. But, I'm confused on how I would use it to update the contents of the field for each code match. Also, I'm not sure how I would use it to lookup the description in my lookup table.

Thanks in advance for anymore help.

Here is the current query I have, but it is only designed to match the entire contents of one field to the other in the Lookup table:

UPDATE [Error-Description LU] INNER JOIN [DLU-Input Table] ON [Error-Description LU].[Error-Code] = [DLU-Input Table].[Error-Code] SET [DLU-Input Table].[Error-Code] = [Error-Description LU].[Error-Description];


Thanks,
Feb 27 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Vladimir | last post by:
Hello, I have a table in MS Access database. It has one field (with BYTE datatype) that has several properties set in Lookup tab of table Design View. Display Control = Combo Box. Row Source...
30
by: Andante.in.Blue | last post by:
I just browsed through some of my Access links when I came across the Ten Commandments of Access (http://www.mvps.org/access/tencommandments.htm). Some of the points I heartily agree with (and...
3
by: pbbriggs | last post by:
I will try to be as descriptive as possible, but this error has me stumped and I am not sure what relevant info to include.... I am running Access XP on a Windows XP machine. I initially began...
2
by: asd987 | last post by:
Hi, I have a problem to print the correct data to a file. I have two tables: 1. "names" with the records - "id" (autonumber / primary key) - "description" (text) 2. "things" with the...
22
by: script-learner | last post by:
I currently own a fruit and veg business and wish to compuiterise my manual methods in order to reduce labour costs. I spoke to my son who is a whiz on computers and he had a good chat with me and...
3
by: Mason | last post by:
I have a table consisting of people and their attributes. I would like to create a relationship matrix table that records the relationships between the people. So the two tables would look...
8
by: Steve Jorgensen | last post by:
Mailing List management is a good example of a case where my conundrum arises. Say there is a m-m relationship between parties and groups - anyone can be a member of any combintation of groups. ...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
4
by: netnewbie78 | last post by:
Hello All, I don't have a problem (but maybe I will after I explain). I have a question with regards to something I saw in Access 2007. But first, a little backstory: I'm writing a very small...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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,...

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.