What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help with Microsoft Access

Help with Microsoft Access
Author: Message:
J.J
Senior Member
****

Avatar
R.I.P Myles. Missing you.

Posts: 912
Reputation: 54
33 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. Sad  Help with Microsoft Access
Okay, well i have this project I'm doing and i need some guidance.

Basically, i have to create 2 queries, and I'm not quite sure how to do it.

I have tables that contain information about

a) the sales people (address, suburbs they work in, name, surname etc)
b) the customers (name, surname, address, product purchased, sales person)
c) the products (product name, price and details about the product)

Basically, i have to link these tables in the query to

a) find how many sales each sales person has made and sort them by the suburb in which they're sold in and;
b) Find out which products are being sold more than others

Basically, i don't know how to link the queries together to create this information. I'm not looking for a direct answer, but guidance and tips on how to figure it out - or maybe even an example of something similar to this, as i wish to be able to do more of these in future.

Thanks in advance.

This post was edited on 03-21-2007 at 06:01 AM by J.J.
[Image: bluesig5rz.png]
Previously known as \'lappin\' and \'Third Dimension\'

Damo says (12:00 AM):
-pictures harry potter naked-
03-21-2007 02:28 AM
Profile PM Find Quote Report
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: Help with Microsoft Access
You probably can do this through Access GUI query designer, but I don't know how (I don't use Access much).  If you right click in the query designer, the menu lets you choose SQL view, where you can directly edit the SQL query.

Should you wish to do it that way (I would), the SQL keywords and functions you should look up up are JOIN, COUNT(), GROUP BY, ORDER BY and possibly HAVING.  You should keep in mind that you can join the same table in a query more than once, if needed. All of these are features of SELECT query and documented here.
03-21-2007 12:14 PM
Profile E-Mail PM Find Quote Report
Knucks
Full Member
***

Avatar

Posts: 118
Reputation: 9
34 / Male / Flag
Joined: Mar 2005
RE: Help with Microsoft Access
I happen to be doing a project using Microsoft Access myself. :P
I used Relationships to link tables together with. I could then create a query really easy.

Relationships
Hope this helps. ;)
It all happened 7190 days, 22 hours, 32 minutes, 6 seconds ago... :D
03-21-2007 03:41 PM
Profile E-Mail PM Web Find Quote Report
J.J
Senior Member
****

Avatar
R.I.P Myles. Missing you.

Posts: 912
Reputation: 54
33 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Help with Microsoft Access
quote:
Originally posted by Knuckles
I happen to be doing a project using Microsoft Access myself. :P
I used Relationships to link tables together with. I could then create a query really easy.

Relationships
Hope this helps. ;)

Thanks for your reply :)

The thing is, i don't have a customer ID or anything along those lines in my tables...just names. So figuring out what to link together is what my real dilemma is.

This post was edited on 03-22-2007 at 04:59 AM by J.J.
[Image: bluesig5rz.png]
Previously known as \'lappin\' and \'Third Dimension\'

Damo says (12:00 AM):
-pictures harry potter naked-
03-22-2007 04:59 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On