473,378 Members | 1,078 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,378 software developers and data experts.

almost the same name

Hello
I have four tables with the contractor field. These tables were
created over the years by different people and the spelling is
different in each table for the contractor field. I would to be able
to use these four tables in queries but the different spelling of the
contractors is hindering me. Is there a way around this? Maybe a
bridge table? TIA
Nov 13 '05 #1
2 1245
this is what I would do:
1. make a table of all contractors names from all four tables, only adding
unique names (see field settings). call this table Contractors
2. add a field with a long integer code in it
3. go through the list and add a unique number for each contractor (e.g.
several similar names may have the same number)
4. add a similar number field (long integer) to all four tables
5. place the number of the corresponding contractor name for each record in
the new field
6. delete all the 'extra' names in the Contractors table
7. make the number the unique ID and link it to the four other tables.
8. Delete the contractor name from the four tables

If you have any questions then please don't hesitate to ask.I can explain
all steps in more detail.
---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 31/05/2004
Nov 13 '05 #2
Yoyo,
You can use SQL's ability to give tables aliases to rename each table in
your query to whatever you need it to be. I'd also look at putting together
a union query to present a single set of unique rows for all four tables,
This way you have the data from all four under one view name.

"yoyo" <cr*****@yahoo.com> wrote in message
news:dc**************************@posting.google.c om...
Hello
I have four tables with the contractor field. These tables were
created over the years by different people and the spelling is
different in each table for the contractor field. I would to be able
to use these four tables in queries but the different spelling of the
contractors is hindering me. Is there a way around this? Maybe a
bridge table? TIA

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Steve Richfield | last post by:
To All, First, some of your replies to me have been posted through DevelopersDex, and these are NOT posted on USENET for the world to see. DevelopersDex appears to be trying to hijack USENET,...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when selected, displays the full-size image in a...
7
by: Eric | last post by:
I want to open up 2 record sets. Then, copy everything from one record set to another (excluding a few fields). Is this possible? I need to exclude my primary key, and fields starting with...
7
by: Arne Beruldsen | last post by:
in vbnet2005 I have a datagridview. When the user clicks on a row...I would like the contents of certain cells to populate a textbox. To do this...i need to be able to refer to the row and...
5
by: gamename | last post by:
Hi, I have 2 vendor libraries. One is for transmitting, the other receiving data. Virtually all of the functions in either lib are almost exactly alike in the way they're called. The only...
1
by: Ron | last post by:
This code is almost doing what I want it to do, here is the code: private void btnConvert_Click(object sender, EventArgs e) { // Get a directory string path = @"c:\WAMP\"; foreach (string...
1
by: rh0dium | last post by:
Hi all, I almost did my first pyparsing without help but here we go again. Let's start with my code. The sample data is listed below. # This will gather the following ( "NamedPin"...
1
by: bearophileHUGS | last post by:
Once in a while I feel free to write about less defined things, saying mostly wrong things. This post is mostly chat, if you aren't interested please ignore it. Python is fit enough for newbie...
61
by: bonneylake | last post by:
Hey Everyone, Well after asking many questions i have this almost working. This is how it works. Basically i fill in my customer number field an that populates my drop down box. Once i select...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.