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

Comparing values in two tables and show result

Hello! Here is my issue:

I have a list of child care providers, their contact information, and stats
in a table called tblproviders. I have clients request in another table.
I want to match up clients with providers that meet their criteria and to
bring up a list with the providers information on it. How would I go about
doing this. In laymans terms preferably! :-)

(not actual, just an idea)

tblProviders

fldName
fldCity Look-up/dropdown
fldPets Y/N
fldAccreditation Look-up/dropdown

tblClients

fldClientName
fldClientCity
fldClientPets
fldClientAccreditation

I want the name of all providers where city, pets, and accreditation fields
match the clients.

Please help, and please e-mail me! My address is

marileehaney[AT]hotmail[dot]com

Thanks

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #1
2 1460
I forgot to add, I don't want an entire list of who matches who, I want to
be able to push a button and run this report for 1 client at a time.
Thanks!

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #2
On Fri, 18 Mar 2005 15:41:36 GMT, "Marilee Haney via
AccessMonster.com" <fo***@AccessMonster.com> wrote:

A perfect match-up is found with an inner-join query. So if
P.City=C.City and P.Pets=C.Pets and P.CA=C.CA
then you have a perfect match.

If you want only 1 client, then that just adds one more element to
your WHERE clause:
.... where ClientID=x

-Tom.

Hello! Here is my issue:

I have a list of child care providers, their contact information, and stats
in a table called tblproviders. I have clients request in another table.
I want to match up clients with providers that meet their criteria and to
bring up a list with the providers information on it. How would I go about
doing this. In laymans terms preferably! :-)

(not actual, just an idea)

tblProviders

fldName
fldCity Look-up/dropdown
fldPets Y/N
fldAccreditation Look-up/dropdown

tblClients

fldClientName
fldClientCity
fldClientPets
fldClientAccreditation

I want the name of all providers where city, pets, and accreditation fields
match the clients.

Please help, and please e-mail me! My address is

marileehaney[AT]hotmail[dot]com

Thanks


Nov 13 '05 #3

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

Similar topics

5
by: lkrubner | last post by:
I have a webserver through Rackspace. I create a domain. I create an FTP user. I upload some files. I create a database called testOfSetupScript and then I create a database user named setup. I...
2
by: Ian N | last post by:
Hi, i was wondering if anyone would be able to help me with a problem i'm having, I currently have two tables, in a database, one is Called products, and one is called groupproducts, their are...
3
by: twdo | last post by:
Let me see if I can explain my situation clearly. I have a table with the columns: answer_id, question_id, member_id, answer - answer_id is the primary key for the table. - question_id...
0
by: Jeff Marcum | last post by:
I have two tables that I want to compare and show me the unmatched records. I want to use all fields on both table in the comparison. Here is an example of the fields that are on both tables. ...
4
by: osmethod | last post by:
Hello, I have read many articles about comparing tables, like - loops, delete queries, appending to temp table with index etc Problem: 2 tables T1 & T2. Data is suppposed to be the same in...
8
by: charles.amith | last post by:
I have 2 tables: LOCATION and ELEVATION In location, I would like to find the record with the max value for field: DATE1 In elevation, I would like to find the record with the max value for...
2
by: Wayne | last post by:
We have a query which compares each field in two tables (let's say Table1 and Table2) and identifies any records that have been modified. For example, one of these columns looks like: Field: ...
4
by: J | last post by:
I am editing a pre-existing view. This view is already bringing data from 40+ tables so I am to modify it without screwing with anything else that is already in there. I need to (left) join it...
5
by: Franck | last post by:
how come unchanged always true even if data changed This code come from my saving button: ============================================ DataSet ds1 = new DataSet(); DataSet ds2 = new...
5
by: saneman | last post by:
I have a function: int F(double a) { if (a = =1.0) { return 22; } return 44; }
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.